To sum up two very common controls:
1. Radiao:
Attributes:
Checked: if selected, select appear inside a black circle, no black circle is not selected
AutoCheck: Click to change the selected default, this property is set false, this behavior can be canceled, so you need to find the time to manually set the Checked property
event:
CheckdChanged: When only the currently selected radio state changes, sent the event
Click: just click on the current radio immediately send the event
example:
In one GroupBox inside place several radio button
2. CheckBox:
Attributes:
ThreeState true:
Checked: true true false
CheckeState: Checked Indeterminate Unchecked
ThreeState false:
Checked: true false
CheckeState: Checked Unchecked
event:
CheckdChanged
CheckeStateChanged
3. CheckedListBox
Attributes:
Items: is used to set a checkbox for each item
CheckOnClick: after controlling for selecting a row, select the checkbox immediately
method:
// 1. Obtain an item selected state var the isChecked = the this .checkedListBox1.GetItemChecked ( 0 ); // 2. setting the state of a selected one of the this .checkedListBox1.SetItemChecked ( 0 , to true );