private void RunInReleaseMode() { this.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(App_DispatcherUnhandledException); AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException; try { PtBootstrapper bootstrapper = new PtBootstrapper(); bootstrapper.Run(); } catch (Exception ex) { HandleException(ex); } }
private void RunInDebugMode() { PtBootstrapper bootstrapper = new PtBootstrapper(); bootstrapper.Run(); }