
352 Chapter 8 • Windows Forms Components and Controls
You can also use labels to display information about runtime events or pro-
cesses in your application. For example, in an e-mail manager application, you can
use a label to inform the user when your application is connecting to the mail
server, checking for new messages, and disconnecting from the mail server.The
Text property is the default property of a label.Table 8.3 shows other properties
of the Label control.
Table 8.3
Label Properties
Property Description
AllowDrop Determines if the label will receive drag-drop
notifications
AutoSize Enables automatic resizing based on font size. Note
that this ...