示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FrmLogin f1 = new FrmLogin();

            if (f1.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new FrmMain());
            }
            // Application.Run(new FrmLogin());
        }
示例#2
0
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FrmLogin login = new FrmLogin();

            if (login.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new FrmMain());
            }
            //Application.Run(FrmRoomAndDesk.Instance);
        }
示例#3
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     ////FrmLogin f1 = new FrmLogin();
     ////if (f1.ShowDialog() == DialogResult.OK)
     ////{
     // //   Application.Run(FrmMember.Instance);
     //   Application.Run(new  FrmLogin());
     ////}
     FrmLogin  f2 = new FrmLogin();
     if (f2.ShowDialog() == DialogResult.OK)
     {
         Application.Run(new FrmMain());
     }
 }
示例#4
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            ////FrmLogin f1 = new FrmLogin();
            ////if (f1.ShowDialog() == DialogResult.OK)
            ////{
            // //   Application.Run(FrmMember.Instance);
            //   Application.Run(new  FrmLogin());
            ////}
            FrmLogin f2 = new FrmLogin();

            if (f2.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new FrmMain());
            }
        }