private void frmTraCuuNguoiDan_Load(object sender, EventArgs e) { m_CanHoCtrl.HienThiComboBox(cmbMaCanHo); m_NgheNghiepCtrl.HienThiComboBox(cmbNgheNghiep); m_DanTocCtrl.HienThiComboBox(cmbDanToc); m_TonGiaoCtrl.HienThiComboBox(cmbTonGiao); }
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); }
private void frmNguoiDan_Load(object sender, EventArgs e) { m_DanTocCtrl.HienThiComboBox(cmbDanToc); m_TonGiaoCtrl.HienThiComboBox(cmbTonGiao1); m_NgheNghiepCtrl.HienThiComboBox(cmbNgheNghiep); m_DanTocCtrl.HienThiDataGridViewComboBoxColumn(MaDanToc); m_TonGiaoCtrl.HienThiDataGridViewComboBoxColumn(MaTonGiao); m_NgheNghiepCtrl.HienThiDataGridViewComboBoxColumnNN(MaNgheNghiep); //Hien thi bên ButtonItem Dang ky can ho m_CanHoCtrl.HienThiComboBox(cmbCanHoDK); m_NguoiDanCtrl.HienThi(dgvNguoiDan, bdgNguoiDan, txtMaNguoiDan, txtTenNguoiDan, txtGioiTinh, opbNam, opbNu, dtiNgaySinh, cmbDanToc, cmbTonGiao1, cmbNgheNghiep, txtTenNguoiDanDK); }