예제 #1
0
 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();
             };
         }
     }
 }
예제 #2
0
 public void ShowMoveDialog()
 {
     MessageDialogView.Close();
     MoveTargetDialogView.ShowWindow();
 }
예제 #3
0
 public void ShowImportFileDialog(int folderId)
 {
     ImportFolderComputerView.Model.LoadFolderId(folderId);
     MessageDialogView.Close();
     ImportFolderComputerView.ShowWindow();
 }