private void InitButtons(MessageDialogView view) { foreach (var button in _buttons.Values) { button.Visibility = Visibility.Collapsed; if (button.IsDefault) { button.Click += (sender, args) => { view.DialogResult = true; view.Close(); }; } } }
public void ShowMoveDialog() { MessageDialogView.Close(); MoveTargetDialogView.ShowWindow(); }
public void ShowImportFileDialog(int folderId) { ImportFolderComputerView.Model.LoadFolderId(folderId); MessageDialogView.Close(); ImportFolderComputerView.ShowWindow(); }