private void btnSuaKhachHang2_Click(object sender, EventArgs e) { KhachHang x = new KhachHang(); x.MaKhachHang = dgvKhachHang.SelectedRows[0].Cells[0].Value + ""; frmSuaKhachHang frmSua = new frmSuaKhachHang(x); // sau mỗi lần ấn frmSua.ShowDialog(); }
private void btnSuaKhachHang_Click(object sender, EventArgs e) { frmSuaKhachHang frmSua = new frmSuaKhachHang(); frmSua.ShowDialog(); }