/// <summary> /// 수강신청 메뉴를 담당하는 메서드 /// </summary> public void RegisterClassMenu() { bool applicationExitFlag = true; while (applicationExitFlag) { drawUI.Register(); mode = drawUI.GetConsoleIdNumber(1); if (mode.Equals("back")) { return; } switch (mode) { case TimeTableConstants.REGISTER_SEARCH_ADD: //수강신청하기 registerSubject.SearchRegister(id, dataControl, readAndWriteExcelFile); break; case TimeTableConstants.REGISTER_DELETE: //수강신청삭제 registerSubject.DeleteRegister(id, dataControl); break; case TimeTableConstants.REGISTER_INQUIRY: //조회 registerSubject.InQuiry(id, dataControl); break; case TimeTableConstants.REGISTER_BACK: applicationExitFlag = false; break; default: break; } } }