InputBox
Jump to navigation
Jump to search
C# class for prompting the user for input in a pop-up window.
Namespace
Hierarchy
- System.Object
- au.util.io.InputBox
Usage
Call the static InputBox.Read()
method to prompt the user for a string.
Public Methods
Read
static string Read(IWin32Window owner, string prompt, string caption, string defaultValue)
static string Read(IWin32Window owner, string prompt, string caption)
Prompts the user for an input string.
- owner = The window requesting the input string.
- prompt = Prompt to display in the input window.
- caption = Caption to use as the title of the input window.
- defaultValue = Default input value. If not specified, default is an empty string.
- @return = User-input string.