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 Button Clicks

The most basic use of a Win Forms Button control is to run some code when the button is clicked. The code can be as simple or as complex as needed.

To respond to a button click

Clicking a Button control also generates a number of other events, such as the MouseEnter, MouseDown, and MouseUp events. If you intend to attach event procedures for these related events, be sure that their actions don't conflict.

If the user attempts to double-click the Button control, each click will be processed separately; that is, the control does not support the double-click event.

See Also

Button Class | Button Control | Selecting a Button Control Programmatically