You are on page 1of 2

Parts of Microsoft Visual studio Environment

C# Toolbox and Events:
1- Labels
• Windows Forms Label controls are used to display text or images that
cannot be edited by the user. They are used to identify objects on a form to
provide a description of what a certain control will do if clicked, for example,
or to display information in response to a run-time event or process in your
application. Because the Label control cannot receive focus, it can also be
used to create access keys for other controls.
 Setting Label Properties:
• After you place a Label control on a Form, the next step is to set
properties.
• The easiest way to set properties is from the Properties Window. You can
open Properties window by pressing F4 or right click on a control and
select Properties menu item.

Duhok
Polytechnic University 4

You might also like