コード例 #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
ファイル: Program.cs プロジェクト: hpbaotho/pos-project-th
        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));
        }