Ejemplo n.º 1
0
 public InterestingLecture(Menu menu, List <LectureVO> interestingLectureList, List <LectureVO> lectureList, AddLecture addLecture, JoinLecture joinLecture, RemoveLecture removeLecture, SearchLecture searchLecture, Print print, ErrorCheck errorCheck)
 {
     this.menu = menu;
     this.interestingLectureList = interestingLectureList;
     this.lectureList            = lectureList;
     this.addLecture             = addLecture;
     this.joinLecture            = joinLecture;
     this.removeLecture          = removeLecture;
     this.searchLecture          = searchLecture;
     this.print      = print;
     this.errorCheck = errorCheck;
 }
Ejemplo n.º 2
0
 public Menu()
 {
     errorCheck             = new ErrorCheck();
     print                  = new Print();
     addLecture             = new AddLecture(print, errorCheck);
     removeLecture          = new RemoveLecture(print, errorCheck);
     searchLecture          = new SearchLecture(print, errorCheck);
     joinLecture            = new JoinLecture(print, errorCheck);
     export                 = new Export(print);
     interestingLectureList = new List <LectureVO>();
     registeredLectureList  = new List <LectureVO>();
     lectureList            = new LoadExcel().AddData();
     registerLecture        = new RegisterLecture(this, registeredLectureList, lectureList, addLecture, joinLecture, removeLecture, searchLecture, print, errorCheck);
     interestingLecture     = new InterestingLecture(this, interestingLectureList, lectureList, addLecture, joinLecture, removeLecture, searchLecture, print, errorCheck);
     joinTimeTable          = new JoinTimeTable(this, registeredLectureList, joinLecture, export, print, errorCheck);
     timeTableLectureList   = new List <TimeTableLectureVO>();
     MainMenu();
 }