Beispiel #1
0
 public AddTeacherForm(Controller.UserAccount ua)
 {
     InitializeComponent();
     teacherName = string.Empty;
     teacher     = new Controller.Teacher();
     userAccount = ua;
 }
Beispiel #2
0
        private void AddSubjectForm_Load(object sender, EventArgs e)
        {
            Controller.Semester semester = new Controller.Semester();
            Controller.Teacher  teacher  = new Controller.Teacher();
            semester.LoadAllSemester(userAccount.ua_department_id, comboBoxSemesterName);
            teacher.LoadAllTeacher(userAccount.ua_department_id, comboBoxTeacherName);

            CheckFormCall();
        }
Beispiel #3
0
 public AddTeacherForm(Controller.UserAccount ua, int teacher_ID)
 {
     InitializeComponent();
     teacherName = string.Empty;
     teacher     = new Controller.Teacher
     {
         teacherID = teacher_ID
     };
     userAccount = ua;
 }