public override void PrintList()
        {
            PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);
            ProductReportMng reportMng = new ProductReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);
            ProductoListRpt report = reportMng.GetListReport(ProductList.GetList((IList <ProductInfo>)Datos.List));

            PgMng.FillUp();
            ShowReport(report);
        }
        public ProductoListRpt GetListReport(ProductList list)
        {
            if (list.Count == 0)
            {
                return(null);
            }

            ProductoListRpt doc = new ProductoListRpt();

            List <ProductoPrint> pList = new List <ProductoPrint>();

            foreach (ProductInfo item in list)
            {
                pList.Add(ProductoPrint.New(item));
            }

            doc.SetDataSource(pList);

            FormatHeader(doc);

            return(doc);
        }