NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Responding to CheckBox Clicks

Whenever a user clicks a Win Forms CheckBox control, the Click event occurs. You can program your application to perform some action depending upon the state of the check box.

To respond to CheckBox clicks

Note   If the user attempts to double-click the check box control, each click will be processed separately; that is, the check box control does not support the double-click event.
Note    When the AutoCheck property is True (the default), the CheckBox is automatically checked or unchecked when it is clicked. Otherwise, you must manually set the Checked property when the Click event occurs.

You can also use the CheckBox control to determine a course of action.

To determine a course of action

Note   When the ThreeState property is set to True, the Checked property returns True for both CheckState.Checked and CheckState.Indeterminate.


See Also

CheckBox Control | Setting Options with CheckBox Controls