Ejemplo n.º 1
0
        public Section(int sectionNumber, string day, string time)
        {
            this.sectionNumber = sectionNumber;
            this.day = day;
            this.time = time;

            index = findSectionIndex(day, time);
        }
Ejemplo n.º 2
0
        public Section(int sectionNumber, string day, string time)
        {
            this.sectionNumber = sectionNumber;
            this.day           = day;
            this.time          = time;

            index = findSectionIndex(day, time);
        }
Ejemplo n.º 3
0
        private void cbxSchedules_SelectedIndexChanged(object sender, EventArgs e)
        {
            dataGridView1.Rows.Clear();
            insertRows();

            int selectedIndex = cbxSchedules.SelectedIndex;

            foreach (Lecture lec in sc.nonOverlappedSchedules[selectedIndex].lectureList)
            {
                SectionIndex secIndex = lec.section.index;
                dataGridView1[secIndex.j, secIndex.i].Value = lec.course.name;
            }
        }