Exemple #1
0
 public override void PostDeleteTasks(ETeacherEntry element)
 {
     foreach (CourseEntry s in AllCourses.Instance.CoursesList)
     {
         s.RemoveTeacherFromCourse(element);
     }
     HDDSync.SaveTeachersToHdd();
 }
Exemple #2
0
        public override void PostModifyTasks(ETeacherEntry entry)
        {
            foreach (CourseEntry course in AllCourses.Instance.lists)
            {
                if (course.TeacherEntry.lists.Contains(entry) || course.IC == entry)
                {
                    HDDSync.SaveCourseToHdd(course);
                }
            }

            HDDSync.SaveTeachersToHdd();
        }
Exemple #3
0
 public override void PostAddTasks(ETeacherEntry element)
 {
     HDDSync.SaveTeachersToHdd();
 }