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); }
public RegistryListRpt GetListReport(RegistroList list) { if (list.Count == 0) { return(null); } RegistryListRpt doc = new RegistryListRpt(); doc.SetDataSource(list); FormatHeader(doc); return(doc); }