Shutdown() public method

public Shutdown ( ) : void
return void
Esempio n. 1
0
        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.
            }
        }
Esempio n. 2
0
 public void Shutdown()
 {
     fileController.Shutdown();
 }