private void btnThem_Click(object sender, EventArgs e)
        {
            eCauThu nct = new eCauThu();

            nct.MaCauThu    = txtMaCauThu.Text;
            nct.MaDoiBong   = txtMaDoiBong.Text;
            nct.SoDienThoai = txtSDT.Text;
            nct.TenCauThu   = txtTenCauThu.Text;
            nct.Email       = txtEmail.Text;
            if (cThu.themThanhVien(nct) == 1)
            {
                MessageBox.Show("thêm thành công");
                List <eCauThu> lsCT = cThu.getAllCauThu();
                foreach (eCauThu item in lsCT)
                {
                    lvwDSCauThu.Items.Add(CreateItem(item));
                }
            }
            else
            {
                MessageBox.Show("thêm thất bại");
            }
        }
        private void frmQLDoiBong_Load(object sender, EventArgs e)
        {
            cThu  = new CauThuBUS();
            dbBus = new DoiBongBUS();
            List <eCauThu> lsCT = cThu.getAllCauThu();

            foreach (eCauThu item in lsCT)
            {
                lvwDSCauThu.Items.Add(CreateItem(item));
            }
            List <eDoiBong> lsDB = new List <eDoiBong>();

            lsDB = dbBus.getAllDoiBong();
            eDoiBong doiBong = new eDoiBong();

            doiBong.TenDoiBong = "Get all";
            doiBong.MaDoiBong  = "Get all";
            lsDB.Add(doiBong);
            cboDoiBong.DataSource    = lsDB;
            cboDoiBong.DisplayMember = "TenDoiBong";
            cboDoiBong.ValueMember   = "MaDoiBong";
            cboDoiBong.SelectedIndex = 2;
        }