예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
            try
            {
                //QuoteLegacy q = new QuoteLegacy();
                QuotopiaMain q = new QuotopiaMain();

                Application.Run(q);
            }
            catch (Exception ex) { TradeLink.AppKit.CrashReport.Report(QuotopiaMain.PROGRAM, ex); }
        }
예제 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
     AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
     try
     {
         //QuoteLegacy q = new QuoteLegacy();
         QuotopiaMain q = new QuotopiaMain();
         
         Application.Run(q);
     }
     catch (Exception ex) { TradeLink.AppKit.CrashReport.Report(QuotopiaMain.PROGRAM, ex); }
 }