static void Main() { // TODO: Handle unhandled exceptions Puzzler f = new Puzzler(); Application.Run(f); }
static void Main() { BootstrapEnterpriseLibrary(); Application.ThreadException += Application_ThreadException; AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; Puzzler f = new Puzzler(); Application.Run(f); }
static void Main() { // Handle unhandled exceptions Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); Puzzler f = new Puzzler(); Application.Run(f); }
public void Run() { Puzzler f = new Puzzler(); Application.Run(f); }