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