private void btnXoaKhachHang2_Click(object sender, EventArgs e) { KhachHang x = new KhachHang(); x.MaKhachHang = dgvKhachHang.SelectedRows[0].Cells[0].Value + ""; frmXoaKhachHang frmXoa = new frmXoaKhachHang(x); frmXoa.ShowDialog(); }
private void btnXoaKhachHang_Click(object sender, EventArgs e) { frmXoaKhachHang frmXoa = new frmXoaKhachHang(); frmXoa.ShowDialog(); }