예제 #1
0
        private void _AddMultipleProjectsWindow_Closed(object sender, EventArgs e)
        {
            var window = _AddMultipleProjectsWindow;

            _AddMultipleProjectsWindow = null;
            window.Closed -= _AddMultipleProjectsWindow_Closed;
        }
예제 #2
0
 public void OpenAddMultipleProjectsWindow(AddMultipleProjectsConfigurationViewModel viewModel)
 {
     if (viewModel == null)
     {
         throw new ArgumentNullException(nameof(viewModel));
     }
     _AddMultipleProjectsWindow         = new AddMultipleProjectsWindow(viewModel);
     _AddMultipleProjectsWindow.Closed += _AddMultipleProjectsWindow_Closed;
     _AddMultipleProjectsWindow.ShowModal();
 }