Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     if (args.Length > 0)
     {
         CLI.Run();
     }
     else
     {
         Application.SetHighDpiMode(HighDpiMode.SystemAware);
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         Application.Run(new Form1());
     }
 }
Ejemplo n.º 2
0
 private void btnConsole_Click(object sender, EventArgs e) => CLI.Run();