Skip to content

DinoUI is an easy way to make a UI for your .NET console project.

License

Notifications You must be signed in to change notification settings

brianbaldner/DinoUI

Repository files navigation

DinoUI

GitHub Workflow Status Nuget Nuget GitHub

DinoUI is the easiest way to make a UI for your .NET console project.

Installation

Install to your project with Nuget

Usage

View the full example in the test program.

using DinoUI;

var config = new MainConfig()
    {
        Title = "DinoUI",
        Buttons = button,
        ForegroundColor = ConsoleColor.White,
        BackgroundColor = ConsoleColor.DarkRed
    };
//Load Home Screen
HomeScreen.Run(config).Invoke();

//Create progress bar
var lscreen = new LoadingScreen();
lscreen.SetProgress(50)

//Show an alert screen with an OK button
Popup.Alert("The task has completed");

//A confirmation screen where you can select "OK" or "Cancel"
var r = Popup.Confirm("Are you sure you want to see popups?");
    if (r)
        Popup.Alert("You said Ok");
    else
        Popup.Alert("You said Cancel");

//A prompt box to ask for input
string name = TextInput.Run("What is your name?");

Contributing

If you would like to request a new screen, create an issue with the tag "Screen Idea" to suggest the idea. If you find a bug, open an issue or you can also make a pull request.

License

MIT

About

DinoUI is an easy way to make a UI for your .NET console project.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Languages