示例#1
0
        public QLGV TimTheoMaSo(string ma)
        {
            QLGV kq = new QLGV();

            for (int i = 0; i < tongSo; i++)
            {
                if (danhsach[i].XuatMaSoSV() == ma)
                {
                    kq.Them(danhsach[i]);
                }
            }
            return(kq);
        }
示例#2
0
        public QLGV TimTheoHo(string ho)
        {
            QLGV kq = new QLGV();

            for (int i = 0; i < tongSo; i++)
            {
                if (danhsach[i].XuatHoLot() == ho)
                {
                    kq.Them(danhsach[i]);
                }
            }
            return(kq);
        }