Exemplo n.º 1
0
 public void InitializeDays()
 {
     for (int i = 0; i < 7; i++)
     {
         var d = new Day { Date = HAWToolHelper.StartOfWeek(Week, Year).AddDays(i), DOW = (DayOfWeek)i };
         PlanFile.Instance.InvokeUI(() => Days.Add(d));
     }
 }
Exemplo n.º 2
0
 private void DayChanged(Day newDay)
 {
     if (newDay == null) return;
     DayOfWeek = (int)newDay.DOW;
 }