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

            /*
             * /// <--! DEBUG ONLY !-->
             * Application.Run(new Form_Main());
             */


            Form_Login login = new Form_Login();

            login.ShowDialog();
            if (login.DialogResult == DialogResult.OK)
            {
                Application.Run(new Form_Main());
            }
        }
示例#2
0
文件: Program.cs 项目: cfrpg/Publish
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            /*
            /// <--! DEBUG ONLY !-->
            Application.Run(new Form_Main());
            */

            
            Form_Login login = new Form_Login();
            login.ShowDialog();
            if (login.DialogResult == DialogResult.OK)
            {
                Application.Run(new Form_Main());
            }
            
            
        }