Method | Description | |
---|---|---|
InputBox ( ) : System |
Default constructor, Calls this("Input value","Input Box","")
|
|
InputBox ( string caption ) : System |
Constructor, calls this(caption,"Input","")
|
|
InputBox ( string title, Panel contents ) : System |
|
|
InputBox ( string caption, string title ) : System |
Constructor, calls this(caption, title,"")
|
|
InputBox ( string caption, string title, string defaultValue ) : System |
Constructor specifying all arguements
|
|
Show ( IWin32Window parent ) : DialogResult |
Gives focus to the text box and calls ShowDialog()
|
|
ShowDialog ( string title, Panel contents ) : DialogResult |
Creates an InputBox(title,contents) and returns the value of calling ShowDialog() on it
|
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.
|
|
buttonClick ( object sender, |
||
txtInput_KeyDown ( object sender, System e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public InputBox ( string title, Panel contents ) : System | ||
title | string | Title of the form |
contents | Panel | Panel containing UI elements for the user to select |
return | System |
public InputBox ( string caption, string title ) : System | ||
caption | string | |
title | string | |
return | System |
public InputBox ( string caption, string title, string defaultValue ) : System | ||
caption | string | Text that will be shown above the text box |
title | string | Title of the form |
defaultValue | string | Initial value of the text box |
return | System |
public Show ( IWin32Window parent ) : DialogResult | ||
parent | IWin32Window | |
return | DialogResult |
public static ShowDialog ( string title, Panel contents ) : DialogResult | ||
title | string | |
contents | Panel | |
return | DialogResult |