public void DisplaySimpleLauncher()
 {
     if (_simpleLaunchWindow == null)
     {
         if (_simpleLaunchViewModel == null)
         {
             _simpleLaunchViewModel = SimpleLaunchWindowViewModel.CreateViewModel();
             _simpleLaunchViewModel.LaunchingEvent          += OnRequestExecuteSimpleLaunch;
             _simpleLaunchViewModel.RequestingMainViewEvent += OnSimpleLaunchRequestMainView;
             _simpleLaunchViewModel.RequestingConfigureFileLocationEvent += OnSimpleLaunchRequestConfigureFileLocation;
         }
         _simpleLaunchWindow          = new SimpleLaunchWindow(_simpleLaunchViewModel);
         _simpleLaunchWindow.Closing += OnSimpleLaunchWindowClosing;
     }
     try
     {
         Properties.Settings.Default.LastUsedSimpleLaunch = true;
     }
     catch
     {
     }
     _simpleLaunchWindow.Show();
     if (OpeningSimpleLauncherEvent != null)
     {
         OpeningSimpleLauncherEvent();
     }
 }
 void OnSimpleLaunchWindowClosing(object sender, CancelEventArgs e)
 {
     _simpleLaunchWindow = null;
     if (!_switchingToMainWindow)
     {
         if (CloseAction == null)
         {
             throw new Exception("Null CloseAction in OnSimpleLaunchWindowClosing");
         }
         CloseAction();
     }
 }