/// <summary> /// System.Windows.Application.Exit イベント を発生させます。 /// </summary> /// <param name="e">イベントデータ を格納している ExitEventArgs</param> protected override void OnExit(ExitEventArgs e) { base.OnExit(e); if (this.wrapperIconNotify != null) { this.wrapperIconNotify.Dispose(); } }
/// <summary> /// System.Windows.Application.Exit イベント を発生させます。 /// </summary> /// <param name="e">イベントデータ を格納している ExitEventArgs</param> protected override void OnExit(ExitEventArgs e) { base.OnExit(e); _client.Finish(); _client.Dispose(); _notifyIcon.Dispose(); }
protected override void OnExit(ExitEventArgs e) { // clean up mutex if (_instanceMutex != null) _instanceMutex.ReleaseMutex(); base.OnExit(e); }
protected override void OnExit(ExitEventArgs e) { _notifyIcon.Dispose(); PersistenceContext?.Dispose(); base.OnExit(e); }
protected override void OnExit(System.Windows.ExitEventArgs e) { //!< プロジェクトのコンフィグファイルを読み込む var repo = ServiceLocator.Instance.GetInstance <BabumiConfigRepository>(); repo.ExportXML("Babumi.config"); }
protected override void OnExit(ExitEventArgs e) { /*if(ImapController.IdleThread != null) { ImapController.IdleThread.Abort(); }*/ }
protected override void OnExit(ExitEventArgs e) { // let counter save current state YandexMetrica.ReportExit(); base.OnExit(e); }
void ApplicationExit(object sender, ExitEventArgs e) { Trace.WriteLine(string.Format(Name + " exiting with code {0}", e.ApplicationExitCode)); Trace.Flush(); Settings.Default.Save(); }
private void Application_Exit(object sender, ExitEventArgs e) { if (Launcher != null) { Launcher.Quit(); } }
private static void CurrentApplication_Exit(object sender, ExitEventArgs e) { if (OnApplicationExit != null) { OnApplicationExit(sender, e); } }
protected override void OnExit(ExitEventArgs e) { this.applicationController.Shutdown(); this.container.Dispose(); base.OnExit(e); }
private void App_OnExit(object sender, ExitEventArgs e) { if (_mMutex == null) return; _mMutex.ReleaseMutex(); _mMutex.Close(); _mMutex = null; }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); var container = TinyIoCContainer.Current; container.Resolve<AppHelper>().OnExitApp(this); }
protected override void OnExit(ExitEventArgs e) { Messenger.Default.Unregister<NotificationMessage>(this, MessageReceived); DatabaseStarter.StopDatabase(); base.OnExit(e); }
void Current_Exit(object sender, ExitEventArgs e) { if (_mainViewModel != null) { _mainViewModel.Dispose(); } }
protected override void OnExit(ExitEventArgs e) { controller.Shutdown(); container.Dispose(); base.OnExit(e); }
protected override void OnExit(ExitEventArgs e) { EventP2PDispatcher.StopP2PEventMesh(); Session.ShutDown(); base.OnExit(e); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); Settings.Default.Save(); m_MainWindowViewModel.OnExit(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); // Disable needed privileges Permissions.SetPrivileges(false); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); // close IRC connections if(IRCClient.IsConnected) IRCClient.Disconnect(); }
protected override void OnExit(ExitEventArgs e) { _computer.Close(); _taskbarIcon.Dispose(); base.OnExit(e); }
protected override void OnExit(ExitEventArgs e) { GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); GC.WaitForPendingFinalizers(); }
protected override void OnExit(ExitEventArgs e) { if (instanceLockMutex != null) { instanceLockMutex.Dispose(); } }
private void Application_Exit(object sender, ExitEventArgs e) { if (mutex != null) { mutex.Dispose(); } }
public void aboutToExit(object sender, ExitEventArgs e) { db.closeConnection(); windowController.close(); ThreadsMaster.getInstance().waitToFinish(); Application.Current.Shutdown(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); Preference.Current.Save(); KanColleGame.Current.Proxy.Shutdown(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); SimpleIoc.Default.GetInstance<IRemoteClientListener>().Stop(); SimpleIoc.Default.GetInstance<ClientListViewModel>().Dispose(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); ViewModelLocator.Cleanup(); SystemWatchdog.Default.OnExit(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); this.colorGenerator.Dispose(); this.audioStream.Dispose(); }
protected override void OnExit(ExitEventArgs e) { base.OnExit(e); KanColleClient.Current.Proxy.Shutdown(); Settings.Current.Save(); }
protected override void OnExit(ExitEventArgs e) { this.luxa4Slack?.Dispose(); this.notifyIcon.Dispose(); base.OnExit(e); }
protected override void OnExit(System.Windows.ExitEventArgs e) { if (_mutex != null) { _mutex.ReleaseMutex(); } base.OnExit(e); }
protected override void OnExit(System.Windows.ExitEventArgs e) { CommonHelper.CleanUpTempDir(); }
/// <summary> /// Invoked just before the application shuts down, and cannot be canceled. /// </summary> /// <param name="sender">The application.</param> /// <param name="e">The event data.</param> private static void AppExit(object sender, ExitEventArgs e) { AppManager.Instance.Persist(); AppManager.Instance.Dispose(); }
protected override void OnExit(System.Windows.ExitEventArgs e) { SynchronousTCPClient.Close(); }
protected override void OnExit(System.Windows.ExitEventArgs e) { DataBaseConnector.GetInstance()?.StopConnection(); }
void Application_Exit(object sender, System.Windows.ExitEventArgs e) { //ESRI License Initializer generated code. //Do not make any call to ArcObjects after ShutDownApplication() m_AOLicenseInitializer.ShutdownApplication(); }
void ApplicationExitHandler(object sender, System.Windows.ExitEventArgs args) { Default.Save(); }
protected override void OnExit(System.Windows.ExitEventArgs e) { base.OnExit(e); //DeleteVideoResources(); }
/// <summary> /// Event handler of Exit event /// </summary> /// <param name="sender">The sender</param> /// <param name="e">The args</param> private void Application_Exit(object sender, System.Windows.ExitEventArgs e) { Bootstrapper.Dispsose(); }