Esempio n. 1
0
        static void Main()
        {
            // Subscribe to thread (unhandled) exception events
            ThreadExceptionHandler handler = new ThreadExceptionHandler();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.ThreadException += new ThreadExceptionEventHandler(handler.Application_ThreadException);
            //Application.Run(new SU.SetupMaster());
            //Application.Run(new TestGridControl());
            //Application.Run(new SO.OpenOrder());
            //Application.Run(new SO.SceenSetup());
            //Application.Run(new IN.SetupIN());
            Application.Run(new Login(true));
        }
Esempio n. 2
0
        static void Main()
        {

            // Subscribe to thread (unhandled) exception events
            ThreadExceptionHandler handler = new ThreadExceptionHandler();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.ThreadException += new ThreadExceptionEventHandler(handler.Application_ThreadException);
            //Application.Run(new SU.SetupMaster());
            //Application.Run(new TestGridControl());
            //Application.Run(new SO.OpenOrder());
            //Application.Run(new SO.SceenSetup());
            //Application.Run(new IN.SetupIN());
            Application.Run(new Login(true));
        }