private void F_HocSinh_Load(object sender, EventArgs e) { m_DanTocCtrl.HienThiComboBox(cmbDanToc); m_TonGiaoCtrl.HienThiComboBox(cmbTonGiao); m_NgheNghiepChaCtrl.HienThiComboBox(cmbNgheNghiepCha); m_NgheNghiepMeCtrl.HienThiComboBox(cmbNgheNghiepMe); m_DanTocCtrl.HienThiDataGridViewComboBoxColumn(colMaDanToc); m_TonGiaoCtrl.HienThiDataGridViewComboBoxColumn(colMaTonGiao); m_NgheNghiepChaCtrl.HienThiDataGridViewComboBoxColumnNNCha(colMaNNghiepCha); m_NgheNghiepMeCtrl.HienThiDataGridViewComboBoxColumnNNMe(colMaNNghiepMe); m_HocSinhCtrl.HienThi(dGVHocSinh, bindingNavigatorHocSinh, txtMaHocSinh, txtTenHocSinh, txtGioiTinh, ckbGTinhNam, ckbGTinhNu, dtpNgaySinh, txtNoiSinh, cmbDanToc, cmbTonGiao, txtHoTenCha, cmbNgheNghiepCha, txtHoTenMe, cmbNgheNghiepMe); }
//Load private void StudentsForm_Load(object sender, EventArgs e) { m_HocSinhCtrl.HienThi(dGVHocSinh, bindingNavigatorHocSinh, txtMaHocSinh, txtTenHocSinh, txtGioiTinh, dtpNgaySinh, txtNoiSinh); countRowsPre = dGVHocSinh.RowCount; }
private void frmHocSinh_Load(object sender, EventArgs e) { m_HocSinhCtrl.HienThi(dGVHocSinh, bindingNavigatorHocSinh); }