-
Notifications
You must be signed in to change notification settings - Fork 3
Button
A Button is a simple control that gives a Click event when clicked. Button's can optionally contain a client control, such as a label. The style of a Button consists of three surfaces, one normal surface shown when the user is not interacting with the button, a active surface for when the user has the mouse over the button but the mouse is not pushed down, and a pushed surface for when the mouse is over the button and the primary mouse button is held down. In order to trigger a click event, the user has to release the primary mouse button while the mouse is over the button.

// With lc being a layer container for the GUI.
lc.AddControl(form, new Point(0.0, 0.0));
}