public void Shutdown() { fileController.Shutdown(); printController.Shutdown(); if (shellViewModel.NewLanguage != null) { Settings.Default.UICulture = shellViewModel.NewLanguage.Name; } try { Settings.Default.Save(); } catch (Exception) { // When more application instances are closed at the same time then an exception occurs. } }
public void Shutdown() { fileController.Shutdown(); }