C# Class ComponentFactory.Krypton.Toolkit.KryptonInputBox

Inheritance: KryptonForm
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

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

Show() public static méthode

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.
Résultat string

Show() public static méthode

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.
Résultat string

Show() public static méthode

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..
Résultat string

Show() public static méthode

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

Show() public static méthode

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.
Résultat string

Show() public static méthode

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..
Résultat string