private void Task_Completed(MagicalTask task) { this.Task = null; }
public void AssignTask(MagicalTask task) { this.Task = task; this.Task.Completed += this.Task_Completed; }