Esempio n. 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());
            }


            
        }
Esempio n. 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());
                }
            }
        }