public App() { Startup += new StartupEventHandler(App_Startup); AppDomain.CurrentDomain.UnhandledException += (sender, e) => { }; }