Skip to content

kimfeng/InputBox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

InputBox

C# Input dialog for accepting information.

Usage

string username = "user";//Get last username from registry or file

InputBoxItem[] 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.Values["Username"], input.Values["Password"]);
}

About

C# Input dialog for accepting information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%