C# Class Flood.GUI.Controls.CheckBox

CheckBox control.
Inheritance: Button
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

OnCheckChanged() protected méthode

Handler for CheckChanged event.
protected OnCheckChanged ( ) : void
Résultat void

OnClicked() protected méthode

Internal OnPressed implementation.
protected OnClicked ( ) : void
Résultat void

Render() protected méthode

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

SetText() public méthode

public SetText ( string str, bool doEvents = true ) : void
str string
doEvents bool
Résultat void

Toggle() public méthode

Toggles the checkbox.
public Toggle ( ) : void
Résultat void