void Application_End(object sender, EventArgs e) { // Code that runs on application shutdown try { SRPUser.LogoffAll(); } catch { } }
void Application_Start(object sender, EventArgs e) { // Code that runs on application startup try { SRPUser.LogoffAll(); } catch { } LoggingExtensions.Logging.Log.InitializeWith <LoggingExtensions.NLog.NLogLog>(); }
void Application_Start(object sender, EventArgs e) { // Code that runs on application startup try { SRPUser.LogoffAll(); }catch {} }