//Application Startup protected override void OnStartup(StartupEventArgs e) { try { AppStartup.Application_Startup(); } catch { } }
private static void OnExit(object sender, EventArgs e) { try { AppStartup.Application_Exit(); } catch { } }