A Win Forms check box is used to give users True/False or Yes/No options. The control displays a check mark when it is selected.
To set options with CheckBox controls
[Visual Basic] Private Sub SetOptions() ' Create a new object and set its properties according ' to the Checked value of two CheckBox controls. Dim MyObj As New myObject ' Presuming the object has properties named "Property1" and ' "Property2." MyObj.Property1 = CheckBox1.Checked MyObj.Property2 = CheckBox2.Checked End Sub [C#] [MC++]