C# Class ComponentFactory.Krypton.Toolkit.KryptonInputBox

Inheritance: KryptonForm
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
InternalShow string
KryptonInputBox System
UpdateButtonSizing System.Drawing.Size
UpdateButtons void
UpdatePromptSizing System.Drawing.Size
UpdateResponseSizing System.Drawing.Size
UpdateSizing void
UpdateText void
button_keyDown void

Public Methods

Method Description
Show ( IWin32Window owner, string prompt ) : string

Displays an input box in front of the specified object and with the provided prompt.

Show ( IWin32Window owner, string prompt, string caption ) : string

Displays an input box in front of the specified object and with the provided prompt and caption.

Show ( IWin32Window owner, string prompt, string caption, string defaultResponse ) : string

DDisplays an input box in front of the specified object and with the provided prompt and caption and defaulted response string.

Show ( string prompt ) : string

Displays an input box with the provided prompt.

Show ( string prompt, string caption ) : string

Displays an input box with provided prompt and caption.

Show ( string prompt, string caption, string defaultResponse ) : string

Displays an input box with provided prompt and caption and defaulted response string.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void
InternalShow ( IWin32Window owner, string prompt, string caption, string defaultResponse ) : string
KryptonInputBox ( string prompt, string caption, string defaultResposne ) : System
UpdateButtonSizing ( ) : Size
UpdateButtons ( ) : void
UpdatePromptSizing ( ) : Size
UpdateResponseSizing ( ) : Size
UpdateSizing ( ) : void
UpdateText ( ) : void
button_keyDown ( object sender, KeyEventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Show() public static method

Displays an input box in front of the specified object and with the provided prompt.
public static Show ( IWin32Window owner, string prompt ) : string
owner IWin32Window Owner of the modal dialog box.
prompt string The text to display as an input prompt.
return string

Show() public static method

Displays an input box in front of the specified object and with the provided prompt and caption.
public static Show ( IWin32Window owner, string prompt, string caption ) : string
owner IWin32Window Owner of the modal dialog box.
prompt string The text to display as an input prompt.
caption string The text to display in the title bar of the input box.
return string

Show() public static method

DDisplays an input box in front of the specified object and with the provided prompt and caption and defaulted response string.
public static Show ( IWin32Window owner, string prompt, string caption, string defaultResponse ) : string
owner IWin32Window Owner of the modal dialog box.
prompt string The text to display as an input prompt.
caption string The text to display in the title bar of the input box.
defaultResponse string Default response text..
return string

Show() public static method

Displays an input box with the provided prompt.
public static Show ( string prompt ) : string
prompt string The text to display as an input prompt.
return string

Show() public static method

Displays an input box with provided prompt and caption.
public static Show ( string prompt, string caption ) : string
prompt string The text to display as an input prompt.
caption string The text to display in the title bar of the input box.
return string

Show() public static method

Displays an input box with provided prompt and caption and defaulted response string.
public static Show ( string prompt, string caption, string defaultResponse ) : string
prompt string The text to display as an input prompt.
caption string The text to display in the title bar of the input box.
defaultResponse string Default response text..
return string