C# Класс ComponentFactory.Krypton.Toolkit.KryptonInputBox

Наследование: KryptonForm
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Show() публичный статический Метод

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.
Результат string

Show() публичный статический Метод

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.
Результат string

Show() публичный статический Метод

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..
Результат string

Show() публичный статический Метод

Displays an input box with the provided prompt.
public static Show ( string prompt ) : string
prompt string The text to display as an input prompt.
Результат string

Show() публичный статический Метод

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.
Результат string

Show() публичный статический Метод

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..
Результат string