Exemplo n.º 1
0
 void UpdateSelectedDates(IEnumerable <DateTime> dateTimes)
 {
     if (dateTimes.Count() == 1)
     {
         this.DateSelected?.Invoke(dateTimes.ElementAt(0));
     }
     Item0.ControlDelegate.HighlightedDates = dateTimes;
     Item1.ControlDelegate.HighlightedDates = dateTimes;
     Item2.ControlDelegate.HighlightedDates = dateTimes;
     Item0.Invalidate();
     Item1.Invalidate();
     Item2.Invalidate();
 }