private void FrmChucNangKhenThuong_Load(object sender, EventArgs e) { DataService.OpenConnection(); m_KhenThuongControl.HienThi(dataGridViewDSKhenThuong, bindingNavigatorKhenThuong, txtMaKhenThuong, cmbMaNhanVien, txtLoaiKhenThuong, txtHinhThucKhenThuong, txtCapKhenThuong, mtxtNam); m_NhanVienCtrl.HienThiComboBox(cmbMaNhanVien); this.Allow(false); }
private void frmTimNhanVien_Load(object sender, EventArgs e) { m_NhanVienCtrl.HienThiComboBox(cmbPhong, cmbChucVu, cmbTDCM); cmbTen_tt.SelectedIndex = 0; cmbChucVu_tt.SelectedIndex = 0; cmbPhong_tt.SelectedIndex = 0; cmbTDCM_tt.SelectedIndex = 0; }
private void FrmChucNangQTBD_Load(object sender, EventArgs e) { DataService.OpenConnection(); m_QTBDControl.HienThi(dataGridViewDSQTBD, bindingNavigatorQTBD, txtMaQTBD, cmbMaNhanVien, txtTenQTBD, txtThoiGian, txtNoiBoiDuong, txtLoaiHinhBoiDuong, txtChungChi); m_NhanVienCtrl.HienThiComboBox(cmbMaNhanVien); this.Allow(false); }
private void FrmChucNangKyLuat_Load(object sender, EventArgs e) { DataService.OpenConnection(); m_KyLuatControl.HienThi(dataGridViewDSKyLuat, bindingNavigatorKyLuat, txtMaKyLuat, cmbMaNhanVien, txtHinhThucKyLuat, dtNgayKyLuat, txtCoQuanRaQuyetDinh, txtNguyenNhan, txtCoQuanSauKyLuat); m_NhanVienCtrl.HienThiComboBox(cmbMaNhanVien); this.Allow(false); }
private void ChucNangQTDT_Load(object sender, EventArgs e) { DataService.OpenConnection(); m_QTDTControl.HienThi(dataGridViewDSQTDT, bindingNavigatorQTDT, txtMaQTDT, cmbMaNhanVien, txtTenQTDT, dpThoiGianBatDauDaoTao, dpThoiGianKetThucDaoTao, txtHinhThucDaoTao, txtBangCap); m_NhanVienCtrl.HienThiComboBox(cmbMaNhanVien); this.Allow(false); }