SkillAgentSearch skills...

InputBox

C# Input dialog for accepting information.

Install / Use

/learn @UziTech/InputBox
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated1y ago
Forks7

Languages

C#

Security Score

75/100

Audited on Dec 1, 2024

No findings