public Form_ChinhSuaHoKhau() { InitializeComponent(); congDanController = new QuanLyCongDan(); hoKhauController = new QuanLyHoKhau(); hoKhauQuanHeController = new QuanLyQuanHeHoKhau(); DanhSachThanhVienMoi = new List <HoKhau_QuanHe>(); dt1 = new DataTable(); dt2 = new DataTable(); }
public Form10() { InitializeComponent(); dt = new DataTable(); hoKhauQuanHes = new List <HoKhau_QuanHe>(); CongDans = new List <CongDan>(); hoKhauController = new QuanLyHoKhau(); tempHoKhauQuanHe = null; tempCongDan = null; quanHeDAO = new KetNoiQuanHe(); }
private void btnTimMaCD_Click(object sender, EventArgs e) { string imfor = null; QuanLyHoKhau qlhk = new QuanLyHoKhau(); HoKhau HK = qlhk.Tim_MaHK(txtSoHK_DK.Text.Trim(), ref imfor); txtNoiDangKyThuongTru.Text = HK.DiaChi; DevExpress.XtraEditors.XtraMessageBox.Show(imfor); }