public ClassesTable(ClassesSchedule schedule, YearOfStudy yearOfStudy) { _schedule = schedule; YearOfStudy = yearOfStudy; SetGroups(); CreateTable(); }
public ClassesTable GetClassesTable(YearOfStudy year) { var index = YearsOfStudy.IndexOf(year); return(Tables[index]); }
public void RemoveYearOfStudy(YearOfStudy year) { YearsOfStudy.Remove(year); Tables.Remove((from t in Tables where t.YearOfStudy == year select t).First()); }
public void AddYearOfStudy(YearOfStudy year) { YearsOfStudy.Add(year); Tables.Add(new ClassesTable(this, year)); }
public sYearOfStudy(YearOfStudy yearOfStudy) : base(yearOfStudy) { }