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

            Quote q = new Quote();

            Application.Run(q);
        }
Esempio n. 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
     {
         Quote q = new Quote();
         Application.Run(q);
     }
     catch (Exception ex) { TradeLink.AppKit.CrashReport.Report(Quote.PROGRAM, ex); }
 }
Esempio n. 3
0
 public static Quote Get(string sym) { var q = new Quote(); q.symbol = sym; return q; }