public void ShowWindow()
        {
            KernelViewModel = new KernelViewModel(_parametersContainer.Parameters as Kernel);

            _dialogWindow             = new KernelDialogWindow();
            _dialogWindow.DataContext = this;
            _dialogWindow.Owner       = _parentWindow;
            _dialogWindow.ShowDialog();
        }
Beispiel #2
0
 public ApplyChangesAndCloseWindowCommand(IFilterParametersContainer parametersContainer, KernelDialogWindow dialogWindow, IKernelContainer kernelContainer)
 {
     _parametersContainer = parametersContainer;
     _dialogWindow        = dialogWindow;
     _kernelContainer     = kernelContainer;
 }