public void SaveAppAllSettings() { _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); ImageLoader.Save(); }
public void SaveAppAllSettings() { _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); _alphabet.Save(); }
public void SaveAppAllSettings() { SavePluginSettings(); _mainVM.Save(); _settingsVM.Save(); ImageLoader.Save(); }
public void RestartApp() { _mainVM.MainWindowVisibility = Visibility.Hidden; // we must manually save // UpdateManager.RestartApp() will call Environment.Exit(0) // which will cause ungraceful exit _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); ImageLoader.Save(); Alphabet.Save(); UpdateManager.RestartApp(); }
public void Dispose() { // if sessionending is called, exit proverbially be called when log off / shutdown // but if sessionending is not called, exit won't be called when log off / shutdown if (!_disposed) { _mainVM.Save(); _settingsVM.Save(); PluginManager.Save(); ImageLoader.Save(); Alphabet.Save(); _disposed = true; } }
private void OnClosed(object sender, EventArgs e) { _viewModel.Save(); PluginManager.Save(); }
private void OnClosed(object sender, EventArgs e) { viewModel.Save(); }