private void frmStudent_Load(object sender, EventArgs e)
 {
     cmbSession.DataSource    = SessionsHelper.GetSessionsNameList();
     cmbDepartment.DataSource = DepartmentsHelper.GetDepartmentsNameList();
     cmbProgram.DataSource    = ProgramsHelper.GetProgramsNameList();
     cmbGender.DataSource     = Enum.GetValues(typeof(Gender));
     FillGrid();
 }
示例#2
0
 private void FrmAddBook_Load(object sender, EventArgs e)
 {
     cmbDepartment.DataSource = DepartmentsHelper.GetDepartmentsNameList();
     cmbCategory.DataSource   = BookCategoriesHelper.GetBookCategoriesNameList();
     FillGrid();
 }