Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void addNonBillableTask(Task task)
 {
     nonBillableTasks.Add(new ListViewItemViewModel(this, task));
     computeProgress();
 }