/// <summary> /// 시간표 메뉴를 담당하는 메서드 /// </summary> public void TimeTableMenu() { bool TimeTableExitFlag = true; while (TimeTableExitFlag) { drawUI.ScheduleMenu(); mode = drawUI.GetConsoleIdNumber(1); if (mode.Equals("back")) { return; } switch (mode) { case TimeTableConstants.TIMETABLE_CONSOLE: //콘솔로 시간표 출력 timeTable.MakeTimeTable(dataControl, id, TimeTableConstants.CONSOLE); drawUI.PressAnyKey(); break; case TimeTableConstants.TIMETABLE_SAVE_EXCELFILE: //엑셀 파일로 저장하기 timeTable.SaveTimeTable(readAndWriteExcelFile, dataControl, id, TimeTableConstants.EXCEL); break; case TimeTableConstants.TIMETABLE_BACK: TimeTableExitFlag = false; break; default: break; } } }
//관심과목담기 정보를 조회하는 메서드 public void InQuiry(string id, DataControl dataControl) { dataControl.MyInterestLectures(id); drawUI.PressAnyKey(); }