private void btnThemKhachHang_Click(object sender, EventArgs e) { frmThemSuaKH frm = new frmThemSuaKH(); frm.themkhachhang += HamThemKhachHang; frm.ShowDialog(); }
private void btnSuaKhachHang_Click(object sender, EventArgs e) { MaKH = dgvKhachHang.SelectedRows[0].Cells["colMaKhachHang"].Value.ToString(); frmThemSuaKH frm = new frmThemSuaKH(MaKH); frm.suakhachhang += HamSuaKhachHang; frm.ShowDialog(); }