コード例 #1
0
 public TeacherSchedule()
 {
     InitializeComponent();
     teacher_id = specializationController.findTeacherId(UserLog.getUserId());
     schedSectionController.fillListTeachSched(ref listView1, teacher_id);
     foreach (string grade in DataClass.getAllGrade())
     {
         comboBox1.Items.Add(grade);
     }
 }
コード例 #2
0
        public StudentGrades()
        {
            InitializeComponent();
            teacherId = specializationController.findTeacherId(UserLog.getUserId());
            ///

            foreach (string grade in DataClass.getAllGrade())
            {
                if (sectionController.isHandledGradeInSection(grade))
                {
                    comboBox3.Items.Add(grade);
                }
            }
        }
コード例 #3
0
 public ListofSection()
 {
     InitializeComponent();
     radioButton2.Checked = true;
     Teacher_id           = specializationController.findTeacherId(UserLog.getUserId());
 }