public DSBan DsBanYeuCau(string kw)
        {
            DSBan kq = new DSBan();

            try
            {
                int maBan = int.Parse(kw);
                foreach (Ban b in dsBan)
                {
                    if (b.MaBan.ToString().Contains(maBan.ToString()))
                    {
                        kq.ThemBan(b);
                    }
                    if (kq.TimBan(b.MaBan) == null)
                    {
                        if (b.SucChua == maBan)
                        {
                            kq.ThemBan(b);
                        }
                    }
                }
            }
            catch (Exception e)
            {
            }
            return(kq);
        }
        public DSBan DsBanDat()
        {
            DSBan kq = new DSBan();

            foreach (Ban b in this.dsBan)
            {
                if (b.TinhTrang == false)
                {
                    kq.ThemBan(b);
                }
            }
            return(kq);
        }
 public void SetUp()
 {
     fDSBan = new DSBan();
 }