コード例 #1
0
 public void EditFolderModeless()
 {
     if (_canEditFolderModeless)
     {
         ViewLocator.ContextSeparator = "";
         new WindowManager().ShowWindow(FolderListEditViewModel.Instance(), "ViewModel");
         //new WindowManager().ShowWindow(FolderListEditViewModel.Instance());
     }
 }
コード例 #2
0
 public void EditFolderModal()
 {
     if (_canEditFolderModal)
     {
         new WindowManager().ShowDialog(FolderListEditViewModel.Instance());
         foreach (var child in GetChildren())
         {
             child.Refresh();
         }
     }
 }