private void btnSuaKH_Click(object sender, EventArgs e) { for (int i = 0; i < qlkh.DanhSach.Count; i++) { if (lvKH.Items[i].Selected) { frmKH khachhang = new frmKH(qlkh.DanhSach[i].CMND, this); khachhang.ShowDialog(); } } }
private void btnThemKH_Click(object sender, EventArgs e) { frmKH khachhang = new frmKH(this, qlkh); khachhang.ShowDialog(); }