Esempio n. 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmBootstrap f = new frmBootstrap();

            f.Visible = false;
            Application.Run(f);
        }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmBootstrap f = new frmBootstrap();

            f.Visible = false;
            if (!f.IsDisposed) // our single instance check will exit the constructor early
            {
                Application.Run(f);
            }
        }