Пример #1
0
 public void Run()
 {
     frmRegister regform = new frmRegister();
     if (Program.UseUI)
     {
         Application.Run(new frmRegister());
     }
     else
     {
         regform.RunAsCli();
     }
 }
Пример #2
0
        public void Run()
        {
            frmRegister regform = new frmRegister();

            if (Program.UseUI)
            {
                Application.Run(new frmRegister());
            }
            else
            {
                regform.RunAsCli();
            }
        }