logo
Учебник_ПОА

How to: Display Text on a Windows Form

You can display text on a variety of controls, but the primary control for displaying text in your program is the Label control. When you add a label to a form, the background appears in the same color as the form so that only the text is visible. You can also change the BackColor property of the label.

You can display text in the label by setting its Text property. The Font property determines the display font for the text in the Text property. The ForeColor property determines the color of the text itself.