Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzitech/inputbox
C# Input dialog for accepting information.
https://github.com/uzitech/inputbox
Last synced: 19 days 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:44:07.000Z (11 months ago)
- Last Synced: 2024-10-15T12:19:17.067Z (about 1 month ago)
- Language: C#
- Size: 7.81 KB
- Stars: 13
- 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);
}
```
![](http://uzitech.github.io/images/inputbox1.png)