Пример #1
0
 public ListViewItemViewModel(TaskViewModel parent, Task task)
 {
     this.task = task;
     this.parent = parent;
     this.deleteCommand = new DeleteCommand(parent, this);
     this.completeCommand = new CompleteCommand(parent, this);
 }
Пример #2
0
 public void addNonBillableTask(Task task)
 {
     nonBillableTasks.Add(new ListViewItemViewModel(this, task));
     computeProgress();
 }