예제 #1
0
 private void StartEditing()
 {
     IsEditingTask = true;
     EditTask      = new EditTaskViewModel(
         new NamedCommand("Save", CommitTaskChange),
         new NamedCommand("Cancel", CancelTaskChange)
         );
 }
예제 #2
0
 public void CancelTaskChange()
 {
     this.IsEditingTask = false;
     EditTask           = null;
 }