示例#1
0
        private void OnYearOfStudyChanged()
        {
            if (YearOfStudy == null) return;
            TableHeader = YearOfStudy.ToString();

            _groupClasses = new GroupClasses(Project.Schedule, YearOfStudy);
            _titlesMarkup = new TitlesMarkup(_groupClasses.Subjects);
            InitializeTitles();
            InitLectureCards();
        }
示例#2
0
 public void RemoveGroup(Group @group)
 {
     _groupClasses.RemoveGroup(@group);
     _titlesMarkup = new TitlesMarkup(_groupClasses.Subjects);
     InitializeTitles();
     InitLectureCards();
     if (UpdateTableViewDelegate != null)
     {
         UpdateTableViewDelegate(this);
     }
 }