C# Class Flood.GUI.Controls.NumericUpDown

Numeric up/down.
Inheritance: Flood.GUI.Controls.TextBoxNumeric
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode Description
NumericUpDown ( Control parent ) : Flood.GUI.ControlInternal

Initializes a new instance of the NumericUpDown class.

Méthodes protégées

Méthode Description
IsTextAllowed ( string str ) : bool

Determines whether the text can be assighed to the control.

OnButtonDown ( Control control ) : void

Handler for the button down event.

OnButtonUp ( Control control ) : void

Handler for the button up event.

OnKeyDown ( bool down ) : bool

Handler for Down Arrow keyboard event.

OnKeyUp ( bool down ) : bool

Handler for Up Arrow keyboard event.

OnTextChanged ( ) : void

Handler for the text changed event.

Method Details

IsTextAllowed() protected méthode

Determines whether the text can be assighed to the control.
protected IsTextAllowed ( string str ) : bool
str string Text to evaluate.
Résultat bool

NumericUpDown() public méthode

Initializes a new instance of the NumericUpDown class.
public NumericUpDown ( Control parent ) : Flood.GUI.ControlInternal
parent Control Parent control.
Résultat Flood.GUI.ControlInternal

OnButtonDown() protected méthode

Handler for the button down event.
protected OnButtonDown ( Control control ) : void
control Control Event source.
Résultat void

OnButtonUp() protected méthode

Handler for the button up event.
protected OnButtonUp ( Control control ) : void
control Control Event source.
Résultat void

OnKeyDown() protected méthode

Handler for Down Arrow keyboard event.
protected OnKeyDown ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
Résultat bool

OnKeyUp() protected méthode

Handler for Up Arrow keyboard event.
protected OnKeyUp ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
Résultat bool

OnTextChanged() protected méthode

Handler for the text changed event.
protected OnTextChanged ( ) : void
Résultat void