private void OnYearOfStudyChanged() { if (YearOfStudy == null) return; TableHeader = YearOfStudy.ToString(); _groupClasses = new GroupClasses(Project.Schedule, YearOfStudy); _titlesMarkup = new TitlesMarkup(_groupClasses.Subjects); InitializeTitles(); InitLectureCards(); }
public void RemoveGroup(Group @group) { _groupClasses.RemoveGroup(@group); _titlesMarkup = new TitlesMarkup(_groupClasses.Subjects); InitializeTitles(); InitLectureCards(); if (UpdateTableViewDelegate != null) { UpdateTableViewDelegate(this); } }