Exemple #1
0
 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();
         }
     }
 }
Exemple #2
0
        private void btnThemKH_Click(object sender, EventArgs e)
        {
            frmKH khachhang = new frmKH(this, qlkh);

            khachhang.ShowDialog();
        }