public FrmPersonalInformation(Staff staff)
        {
            InitializeComponent();
            this.staff = staff;
            staffBUS = new StaffBUS();
            subjectBUS = new SubjectBUS();
            facultyBUS = new FacultyBUS();

            faculties = facultyBUS.GetList();
        }
Esempio n. 2
0
 public static List <string> loadListSubjectToComboBoxInSearch(string idTeacher, string nameClass, string schoolYear)
 {
     if (TeacherBUS.isMaster(idTeacher, nameClass, schoolYear))
     {
         List <string> temp   = SubjectBUS.loadListNameSubject();
         List <string> result = new List <string>();
         result.Add("All");
         for (int i = 0; i < temp.Count; i++)
         {
             result.Add(temp[i]);
         }
         return(result);
     }
     return(TeacherDAO.loadListSubjectToComboBox(idTeacher, nameClass, schoolYear));
 }