Beispiel #1
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());
            }


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