Exemple #1
0
 private static void buildArrlSectionList()
 {
     arrlSections = new SectionList();
     arrlAbbr     = arrlAbbr.OrderBy(x => x).ToArray();
     foreach (string section in arrlAbbr)
     {
         Section s = new Section()
         {
             Abbr = section
         };
         arrlSections.Add(s);
     }
 }
Exemple #2
0
 private static void buildRacSectionList()
 {
     racSections = new SectionList();
     racAbbr     = racAbbr.OrderBy(x => x).ToArray();
     foreach (string section in racAbbr)
     {
         Section s = new Section()
         {
             Abbr = section
         };
         racSections.Add(s);
     }
 }
Exemple #3
0
 private static void buildAllSections()
 {
     if (arrlSections == null)
     {
         buildArrlSectionList();
     }
     if (racSections == null)
     {
         buildRacSectionList();
     }
     allSections = new SectionList();
     foreach (Section section in arrlSections)
     {
         allSections.Add(section);
     }
     foreach (Section section in racSections)
     {
         allSections.Add(section);
     }
 }