示例#1
0
 private static bool[] LoadDayStatuses(DateTime date, string appendix, int numberOfAds)
 {
     AdStatus.SetDate(date);
     AdStatus.FileAppendix      = appendix;
     AdStatus.ActiveNumberOfAds = numberOfAds;
     return(AdStatus.LoadStatuses());
 }
示例#2
0
 public void Refresh()
 {
     HideDisplayedPages();
     if (_adPages.TryGetValue(_desiredDisplayedDate, out var newDisplay))
     {
         newDisplay.Show();
     }
     AdStatus.SetDate(_desiredDisplayedDate);
     _displayedDate = _desiredDisplayedDate;
 }
示例#3
0
 public void RegisterApplied()
 {
     ApplicationSaver.SaveCSV(CsvFolderAddress, _ad);
     AdStatus.SaveStatus(_ad.Id, true);
     ApplicationSaver.CopyCV(CvPath, ApplicationsPath, "JimmyHaglund_CV.pdf");
     ApplicationSaver.GenerateCoverLetter(_coverLetterText.text, ApplicationsPath);
     OpenApplicationUrl();
     _ad.Applied = true;
     _applyButton.gameObject.SetActive(false);
     _appliedNotifierObject.gameObject.SetActive(true);
 }