예제 #1
0
 public MainView()
 {
     classManagementView    = new ClassManagementView(classController, courseController, lecturerController, roomController);
     roomManagementView     = new RoomManagementView(roomController);
     studentManagementView  = new StudentManagementView(studentController, courseController, classController, lecturerController, roomController);
     courseManagementView   = new CourseManagementView(courseController);
     lecturerManagementView = new LecturerManagementView(lecturerController);
 }
예제 #2
0
 public ClassManagementView(Controller.ClassController classController, Controller.CourseController courseController, Controller.LecturerController lecturerController, Controller.RoomController roomController)
 {
     // TODO: Complete member initialization
     this.classController    = classController;
     this.courseController   = courseController;
     this.lecturerController = lecturerController;
     this.roomController     = roomController;
     cmv = new CourseManagementView(courseController);
     lmv = new LecturerManagementView(lecturerController);
     rmv = new RoomManagementView(roomController);
 }