DinoUI
v1.0.4
Dinoui는 .NET 콘솔 프로젝트에 UI를 만드는 가장 쉬운 방법입니다.
Nuget을 사용하여 프로젝트에 설치하십시오
테스트 프로그램의 전체 예를보십시오.
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?" ) ; 새 화면을 요청하려면 태그 "스크린 아이디어"에 문제를 만들어 아이디어를 제안하십시오. 버그를 찾으면 문제를 열거나 풀 요청을 할 수도 있습니다.
MIT