Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            FormLogin login = new FormLogin();

            login.ShowDialog();

            if (login.loginSuccessful())
            {
                Application.Run(new FormMain());
            }
        }