Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
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.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
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. |
Résultat | string |
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. |
Résultat | string |