C# Class Flood.GUI.Controls.NumericUpDown

Numeric up/down.
Inheritance: Flood.GUI.Controls.TextBoxNumeric
Mostra file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
NumericUpDown ( Control parent ) : Flood.GUI.ControlInternal

Initializes a new instance of the NumericUpDown class.

Protected Methods

Method 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 method

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

NumericUpDown() public method

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

OnButtonDown() protected method

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

OnButtonUp() protected method

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

OnKeyDown() protected method

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

OnKeyUp() protected method

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

OnTextChanged() protected method

Handler for the text changed event.
protected OnTextChanged ( ) : void
return void