Пример #1
0
 public ClassesTable(ClassesSchedule schedule, YearOfStudy yearOfStudy)
 {
     _schedule   = schedule;
     YearOfStudy = yearOfStudy;
     SetGroups();
     CreateTable();
 }
Пример #2
0
        public ClassesTable GetClassesTable(YearOfStudy year)
        {
            var index = YearsOfStudy.IndexOf(year);

            return(Tables[index]);
        }
Пример #3
0
 public void RemoveYearOfStudy(YearOfStudy year)
 {
     YearsOfStudy.Remove(year);
     Tables.Remove((from t in Tables where t.YearOfStudy == year select t).First());
 }
Пример #4
0
 public void AddYearOfStudy(YearOfStudy year)
 {
     YearsOfStudy.Add(year);
     Tables.Add(new ClassesTable(this, year));
 }
Пример #5
0
 public sYearOfStudy(YearOfStudy yearOfStudy) : base(yearOfStudy)
 {
 }