Using the Label Control

The Label control allows you to display text to the user. This is a simple control that does not warrant much explanation. The Text property of the control determines what text will be visible to the user. The display text can have a different alignment based on the TextAlign property. The possible align values are TopLeft, TopCenter, and TopRight. The TextChanged event is fired when the text in a Label control changes.

SHOP TALK: HANDLING THE POCKET PC HARDWARE BUTTONS

The Pocket PC has a directional pad that can be used to interact with Pocket PC applications. It is possible to capture the events that this pad generates. When the pad is pressed, a KeyDown event is generated by the Form object. The event handler receives ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.