Exemplo n.º 1
0
 public Homework(Homework cloneOf)
 {
     Course = cloneOf.Course;
     Guid = cloneOf.Guid;
     DueDate = cloneOf.DueDate;
     Summary = cloneOf.Summary;
     Completed = cloneOf.Completed;
 }
Exemplo n.º 2
0
 void EditHomeWorkHandler(Guid obj)
 {
     TempHomework = new Homework(HomeworkList.First(hw => hw.Guid == obj));
     TempHomework.PropertyChanged += TempHomework_PropertyChanged;
     IsEditOpen = Visibility.Visible;
 }
Exemplo n.º 3
0
 void CreateHomeworkHandler()
 {
     IsEditOpen = Visibility.Visible;
     TempHomework = new Homework() { DueDate = DateTime.Today };
     TempHomework.PropertyChanged += TempHomework_PropertyChanged;
 }