/// <summary> /// loads the annual lists for the provided year. /// </summary> /// <param name="year">year to load the lists for.</param> public void LoadAnnualList(string year) { FirstExampleIOController firstExampleController = FirstExampleIOController.GetInstance(); m_annualListNumber.Clear(); m_annualListNumber = firstExampleController.GetFirstExampleListNumber(year); m_annualListLocation.Clear(); m_annualListLocation = firstExampleController.GetFirstExampleListLocation(year); }
// ---------- ---------- ---------- ---------- ---------- ---------- // The following methods load the lists. // ---------- ---------- ---------- ---------- ---------- ---------- /// <summary> /// loads complete list. /// </summary> public void LoadCompleteList() { FirstExampleIOController firstExampleController = FirstExampleIOController.GetInstance(); m_completeListNumber.Clear(); m_completeListNumber = firstExampleController.GetFirstExampleListNumber(); m_completeListLocation.Clear(); m_completeListLocation = firstExampleController.GetFirstExampleListLocation(); }
/// <summary> /// loads complete list. /// </summary> /// <remarks> /// 04/06/16 BS: This looks like the annual list? What is the difference. /// </remarks> /// <param name="year">current year</param> public void LoadAllPurposeList(string year) { // TODO, check out the remarks when ported. if (string.Compare(year, this.AllPurposeYear) != 0) { this.AllPurposeYear = year; FirstExampleIOController firstExampleController = FirstExampleIOController.GetInstance(); m_listNumber.Clear(); m_listNumber = firstExampleController.GetFirstExampleListNumber(year); m_listLocation.Clear(); m_listLocation = firstExampleController.GetFirstExampleListLocation(year); } }