https://github.com/uzitech/inputbox
C# Input dialog for accepting information.
https://github.com/uzitech/inputbox
Last synced: 4 months ago
JSON representation
C# Input dialog for accepting information.
- Host: GitHub
- URL: https://github.com/uzitech/inputbox
- Owner: UziTech
- License: mit
- Created: 2014-10-14T13:33:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:44:07.000Z (over 1 year ago)
- Last Synced: 2025-02-28T06:21:00.378Z (4 months ago)
- Language: C#
- Size: 7.81 KB
- Stars: 12
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
InputBox
========C# Input dialog for accepting information.
Usage
=====```C#
string username = "user";//Get last username from registry or fileInputBoxItem[] items = new InputBoxItem[] {
new InputBoxItem("Username", username),
new InputBoxItem("Password", true)
};InputBox input = InputBox.Show("Login", items, InputBoxButtons.OKCancel);
if (input.Result == InputBoxResult.OK)
{
doLogin(input.Items["Username"].Text, input.Items["Password"].Text);
}
```
