C# Class Habanero.Faces.Base.InputFormTextBox

Provides a form containing a TextBox in order to get a single string value back from a user
ファイルを表示 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
InputFormTextBox ( IControlFactory controlFactory, string message )

Initialises the form with a message to display to the user.

InputFormTextBox ( IControlFactory controlFactory, string message, int numLines )

Initialises the form with a message to display to the user.

InputFormTextBox ( IControlFactory controlFactory, string message, int numLines, char passwordChar )

Initialises the form with a message to display to the user.

ShowDialog ( ) : DialogResult

Shows the form to the user

createControlPanel ( ) : IPanel

Creates the panel on the form

Method Details

InputFormTextBox() public method

Initialises the form with a message to display to the user.
public InputFormTextBox ( IControlFactory controlFactory, string message )
controlFactory IControlFactory The to use to create the form
message string The message to display

InputFormTextBox() public method

Initialises the form with a message to display to the user.
public InputFormTextBox ( IControlFactory controlFactory, string message, int numLines )
controlFactory IControlFactory The to use to create the form
message string The message to display
numLines int The number of lines to make available

InputFormTextBox() public method

Initialises the form with a message to display to the user.
public InputFormTextBox ( IControlFactory controlFactory, string message, int numLines, char passwordChar )
controlFactory IControlFactory The to use to create the form
message string The message to display
numLines int The number of lines to make available
passwordChar char The Char to use if the Textbox is to be used as a password field

ShowDialog() public method

Shows the form to the user
public ShowDialog ( ) : DialogResult
return DialogResult

createControlPanel() public method

Creates the panel on the form
public createControlPanel ( ) : IPanel
return IPanel