Exemplo n.º 1
0
        Object[,] table; //시간표를 가지고 있는

        /// <summary>
        /// 기본 생성자로써 객체를 초기화 해준다
        /// </summary>
        public TimeTable()
        {
            drawUI = new DrawUI();
            table  = new Object[25, 6] {
                { "", "월", "화", "수", "목", "금" },                        //시간표 배열!
                { "09:00~09:30", "", "", "", "", "" },
                { "09:30~10:00", "", "", "", "", "" },
                { "10:00~10:30", "", "", "", "", "" },
                { "10:30~11:00", "", "", "", "", "" },
                { "11:00~11:30", "", "", "", "", "" },
                { "11:30~12:00", "", "", "", "", "" },
                { "12:00~12:30", "", "", "", "", "" },
                { "12:30~13:00", "", "", "", "", "" },
                { "13:00~13:30", "", "", "", "", "" },
                { "13:30~14:00", "", "", "", "", "" },
                { "14:00~14:30", "", "", "", "", "" },
                { "14:30~15:00", "", "", "", "", "" },
                { "15:00~15:30", "", "", "", "", "" },
                { "15:30~16:00", "", "", "", "", "" },
                { "16:00~16:30", "", "", "", "", "" },
                { "16:30~17:00", "", "", "", "", "" },
                { "17:00~17:30", "", "", "", "", "" },
                { "17:30~18:00", "", "", "", "", "" },
                { "18:00~18:30", "", "", "", "", "" },
                { "18:30~19:00", "", "", "", "", "" },
                { "19:00~19:30", "", "", "", "", "" },
                { "19:30~20:00", "", "", "", "", "" },
                { "20:00~20:30", "", "", "", "", "" },
                { "20:30~21:00", "", "", "", "", "" }
            };
        }
Exemplo n.º 2
0
        private string mode;                                    //화면 변경을 위한 변수

        /// <summary>
        /// 기본 생성자로써 각 객체들을 생성한다.
        /// </summary>
        public MenuLogic()
        {
            readAndWriteExcelFile = new ReadAndWriteExcelFile();
            interestSubject       = new InterestSubject();
            registerSubject       = new RegisterSubject();
            timeTable             = new TimeTable();
            drawUI           = new DrawUI();
            dataControl      = new DataControl();
            exceptionHandler = new ExceptionHandler();
        }
Exemplo n.º 3
0
        private ExceptionHandler exceptionHandler;            //예외처리 객체

        /// <summary>
        /// 기본 생성자 각각의 객체를 생성, 초기화한다.
        /// </summary>
        public DataControl()
        {
            interestLectureList = new List <InterestLectureVO>();
            registerLectureList = new List <RegisterLectureVO>();
            exceptionHandler    = new ExceptionHandler();
            studentList         = new List <Student>();
            drawUI = new DrawUI();

            AddStudentList(new Student("14010998", "123123"));
        }
Exemplo n.º 4
0
        private ExceptionHandler exceptionHandler; //예외처리를 해주는 클래스

        //기본 생성자 클래스 생성 및 초기화
        public InterestSubject()
        {
            exceptionHandler = new ExceptionHandler();
            drawUI           = new DrawUI();
        }
        private Object[,] lectureInformation; //엑셀 파일 저장 정보

        /// <summary>
        /// 기본 생성자로써 각각의 객체를 생성해준다.
        /// </summary>
        public ReadAndWriteExcelFile()
        {
            drawUI             = new DrawUI();
            lectureInformation = ReadFromExcel();
        }
Exemplo n.º 6
0
        private ExceptionHandler exceptionHandler; //예외처리 담당 객체

        //기본 생성자 객체 초기화 생성
        public RegisterSubject()
        {
            exceptionHandler = new ExceptionHandler();
            drawUI           = new DrawUI();
        }