C# Class Flood.GUI.Controls.CheckBox

CheckBox control.
Inheritance: Button
Datei anzeigen Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
CheckBox ( Control parent ) : System

Initializes a new instance of the CheckBox class.

SetText ( string str, bool doEvents = true ) : void
Toggle ( ) : void

Toggles the checkbox.

Protected Methods

Method Description
OnCheckChanged ( ) : void

Handler for CheckChanged event.

OnClicked ( ) : void

Internal OnPressed implementation.

Render ( Skins skin ) : void

Renders the control using specified skin.

Method Details

CheckBox() public method

Initializes a new instance of the CheckBox class.
public CheckBox ( Control parent ) : System
parent Control Parent control.
return System

OnCheckChanged() protected method

Handler for CheckChanged event.
protected OnCheckChanged ( ) : void
return void

OnClicked() protected method

Internal OnPressed implementation.
protected OnClicked ( ) : void
return void

Render() protected method

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
return void

SetText() public method

public SetText ( string str, bool doEvents = true ) : void
str string
doEvents bool
return void

Toggle() public method

Toggles the checkbox.
public Toggle ( ) : void
return void