Using Windows Controls Table 6.2 lists the commonly used Windows form controls that you can pick from the Windows Forms section of the Toolbox.. You can place any of these controls on yo
Trang 1Using Windows Controls
Table 6.2 lists the commonly used Windows form controls that you can pick from the Windows Forms section of the Toolbox You can place any of these controls on your Windows form
Table 6.2: COMMONLY USED WINDOWS FORM CONTROLS
CONTROL DESCRIPTION
property
that you want to display using the Text property You set the navigation via the LinkClicked event
button
The Text property contains the text contained in the TextBox
the user if they check the box The Checked property indicates the Boolean value
the user if they click the button The Checked property indicates the Boolean value
example, you can group related radio buttons together Most importantly, it allows you to treat multiple controls as a group
You set the data source using the DataSource property
the Items collection property
CheckedListBox Similar to a list box except that a check mark is placed to the left of
each item in the list The check mark allows the user to select the items via a check box, as opposed to multiselecting with the Shift and/or Ctrl keys
Trang 2Table 6.2: COMMONLY USED WINDOWS FORM CONTROLS
CONTROL DESCRIPTION
database table