Ejemplo n.º 1
0
        public override void PrintList()
        {
            RegistryReportMng reportMng = new RegistryReportMng(AppContext.ActiveSchema, this.Text, this.FilterValues);

            RegistryListRpt report = reportMng.GetListReport(RegistroList.GetList(Datos.DataSource as IList <RegistroInfo>));

            ShowReport(report);
        }
Ejemplo n.º 2
0
        public RegistryListRpt GetListReport(RegistroList list)
        {
            if (list.Count == 0)
            {
                return(null);
            }

            RegistryListRpt doc = new RegistryListRpt();

            doc.SetDataSource(list);

            FormatHeader(doc);

            return(doc);
        }