private void frmMoSoTietKiem_Load(object sender, EventArgs e) { m_KhachHangCtrl.HienThiComboBox(cmbMaKH); m_LoaiTietKiemCtrl.HienThiComboBox(cmbMaLoaiTietKiem); m_SoTietKiemCtrl.HienThi(DGVSoTietKiem, BindingNavigatorSoTietKiem, txtMaSoTietKiem, cmbMaLoaiTietKiem, cmbMaKH, dtNgayMoSo, dtNgayHieuLuc, dtNgayDenHan, dtNgayTinhLai, dtNgayTaiKiGui, txtLaiDaTra, txtLaiNhapVon, dtNgayNhapVon, txtPhongToa, cbPhongToa, dtNgayTatToan); }
private void frmMoSoTietKiem_Load(object sender, EventArgs e) { txtMoSo.Text = m_SoTietKiemCtrl.LayMaSoTietKiem(); txtSoButToan.Text = m_PhatSinhTietKiemCtrl.LayPSTKTheoButToan(); m_DMLoaiGiaoDichCtrl.HienThiComboBox(cmbLoaiGiaoDich); m_DMLoaiTienCtrl.HienThiComboBox(cmbLoaiTienGui); m_LoaiTietKiemCtrl.HienThiComboBox(cmbLoaiTietKiem); cmbLoaiTietKiem.SelectedValueChanged += new EventHandler(cmbLoaiTietKiem_SelectedValueChanged); m_DMTaiKHoanCtrl.HienThiComboBox(cmbTaiKhoanNo); cmbTaiKhoanNo.SelectedValueChanged += new EventHandler(cmbTaiKhoanNo_SelectedValueChanged); m_KhachHangCtrl.HienThiComboBox(cmbMaKH); cmbMaKH.SelectedValueChanged += new EventHandler(cmbMaKH_SelectedValueChanged); m_GiaoDichVienCtrl.HienThiComboBox(cmbMaNV); cmbMaNV.SelectedValueChanged += new EventHandler(cmbMaNV_SelectedValueChanged); }