private void ShowTask(object obj) { bool isEnabled = false; dialog = new View.EditDialogWindow(new TaskDialogViewModel(null, SelectedTaskNode.Task, TaskCommandEnum.Edit, SelectedTaskNode, isEnabled)); dialog.Show(); }
private void EditTask(object obj) { FilterTaskText = ""; FilterTree(obj); dialog = new View.EditDialogWindow(new TaskDialogViewModel(this, SelectedTaskNode.Task, TaskCommandEnum.Edit, SelectedTaskNode)); dialog.Show(); }