static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Quote q = new Quote(); Application.Run(q); }
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); } }
public static Quote Get(string sym) { var q = new Quote(); q.symbol = sym; return q; }