예제 #1
0
파일: Program.cs 프로젝트: cfrpg/Publish
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form_Connect con = new Form_Connect();
            con.ShowDialog();
            if (con.DialogResult == DialogResult.OK)
            {
                Form_Login login = new Form_Login();
                login.ShowDialog();
                if (login.DialogResult == DialogResult.OK)
                    Application.Run(new Form_Main());
            }


            
        }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form_Connect con = new Form_Connect();

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