コード例 #1
0
        private void ShowTask(object obj)
        {
            bool isEnabled = false;

            dialog = new View.EditDialogWindow(new TaskDialogViewModel(null, SelectedTaskNode.Task, TaskCommandEnum.Edit, SelectedTaskNode, isEnabled));
            dialog.Show();
        }
コード例 #2
0
 private void EditTask(object obj)
 {
     FilterTaskText = "";
     FilterTree(obj);
     dialog = new View.EditDialogWindow(new TaskDialogViewModel(this, SelectedTaskNode.Task, TaskCommandEnum.Edit, SelectedTaskNode));
     dialog.Show();
 }