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