Class InputBox
- Namespace
- AetherUtils.Core.WinForms.Controls
- Assembly
- AetherUtils.Core.dll
A form with a single input box and an OK button.
public sealed class InputBox : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
InputBox
- Implements
- Inherited Members
- Extension Methods
Constructors
InputBox(string, string, EventHandler?)
Create a new input box with the specified title, input prompt, and event handler.
public InputBox(string title, string inputPrompt, EventHandler? okClicked)
Parameters
titlestring- The title to display in the form's title bar.
inputPromptstring- The text to display to the left of the input box.
okClickedEventHandler- The event handler responsible for consuming the OkClicked event.
Fields
OkClicked
Occurs when the OK button on the form is clicked.
[UsedImplicitly]
public readonly EventHandler? OkClicked
Field Value
Methods
Dispose(bool)
Disposes of the resources (other than memory) used by the Form.
protected override void Dispose(bool disposing)