static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     frmLogOn logon = new frmLogOn();
     if (logon.ShowDialog() == DialogResult.OK)
     {
         Application.Run(new frmMain());
     }
 }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmLogOn logon = new frmLogOn();

            if (logon.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new frmMain());
            }
        }