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

            Quote q = new Quote();

            Application.Run(q);
        }
Exemplo 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); }
 }
Exemplo n.º 3
0
 public static Quote Get(string sym) { var q = new Quote(); q.symbol = sym; return q; }