Method | Description | |
---|---|---|
Show ( string prompt, string title, string defaultText, InputBoxValidatingHandler validator ) : |
Displays a prompt in a dialog box, waits for the user to input text or click a button.
|
|
Show ( string prompt, string title, string defaultResponse, InputBoxValidatingHandler validator, int xpos, int ypos ) : |
Displays a prompt in a dialog box, waits for the user to input text or click a button.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InputBox ( ) : System | ||
buttonCancel_Click ( object sender, |
||
buttonOK_Click ( object sender, |
||
textBoxText_TextChanged ( object sender, |
Reset the ErrorProvider
|
|
textBoxText_Validating ( object sender, System e ) : void |
Validate the Text using the Validator
|
public static Show ( string prompt, string title, string defaultText, InputBoxValidatingHandler validator ) : |
||
prompt | string | String expression displayed as the message in the dialog box |
title | string | String expression displayed in the title bar of the dialog box |
defaultText | string | String expression displayed in the text box as the default response |
validator | InputBoxValidatingHandler | Delegate used to validate the text |
return |
public static Show ( string prompt, string title, string defaultResponse, InputBoxValidatingHandler validator, int xpos, int ypos ) : |
||
prompt | string | String expression displayed as the message in the dialog box |
title | string | String expression displayed in the title bar of the dialog box |
defaultResponse | string | String expression displayed in the text box as the default response |
validator | InputBoxValidatingHandler | Delegate used to validate the text |
xpos | int | Numeric expression that specifies the distance of the left edge of the dialog box from the left edge of the screen. |
ypos | int | Numeric expression that specifies the distance of the upper edge of the dialog box from the top of the screen |
return |