C# Класс Nexus.UI.Controls.PromptDialog

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

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

Метод Описание
PromptDialog ( ) : System

The default constructor.

ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault ) : string

Displays a prompt dialog with the given message.

ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault, string p_strValidationPattern, string p_strErrorMessage ) : string

Displays a prompt dialog with the given message.

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

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

Clean up any resources being used.

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

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

butOK_Click ( object sender, EventArgs e ) : void

Hanldes the Control.Click event of the OK button.

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

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

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

PromptDialog() публичный Метод

The default constructor.
public PromptDialog ( ) : System
Результат System

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

Displays a prompt dialog with the given message.
public static ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault ) : string
p_wndOwner IWin32Window The owner of the prompt window.
p_strPrompt string The prompt message.
p_strCaption string The title of the dialog window.
p_strDefault string The default prompted text.
Результат string

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

Displays a prompt dialog with the given message.
public static ShowDialog ( IWin32Window p_wndOwner, string p_strPrompt, string p_strCaption, string p_strDefault, string p_strValidationPattern, string p_strErrorMessage ) : string
p_wndOwner IWin32Window The owner of the prompt window.
p_strPrompt string The prompt message.
p_strCaption string The title of the dialog window.
p_strDefault string The default prompted text.
p_strValidationPattern string The regular expression to use to validate the entered text.
p_strErrorMessage string The error message to display if the entered text fails validation.
Результат string