示例#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();
            }
        }