예제 #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));
        }
예제 #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));
        }