示例#1
0
 public static void Launch()
 {
     LoginForm2 form = new LoginForm2();
     form.ShowDialog();
     /*DialogResult result;
     result = form.ShowDialog();
     if (result == DialogResult.OK) //Зафигачить проверку  && !String.IsNullOrEmpty(Login.Type)
     {
         TO mainform = new TO();
         mainform.ShowDialog();
     }*/
 }
示例#2
0
        public static void Launch()
        {
            LoginForm2 form = new LoginForm2();

            form.ShowDialog();

            /*DialogResult result;
             * result = form.ShowDialog();
             * if (result == DialogResult.OK) //Зафигачить проверку  && !String.IsNullOrEmpty(Login.Type)
             * {
             *  TO mainform = new TO();
             *  mainform.ShowDialog();
             * }*/
        }