private static bool[] LoadDayStatuses(DateTime date, string appendix, int numberOfAds)
 {
     AdStatus.SetDate(date);
     AdStatus.FileAppendix      = appendix;
     AdStatus.ActiveNumberOfAds = numberOfAds;
     return(AdStatus.LoadStatuses());
 }
Exemple #2
0
 public void Refresh()
 {
     HideDisplayedPages();
     if (_adPages.TryGetValue(_desiredDisplayedDate, out var newDisplay))
     {
         newDisplay.Show();
     }
     AdStatus.SetDate(_desiredDisplayedDate);
     _displayedDate = _desiredDisplayedDate;
 }