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);
        }
Beispiel #2
0
        public override void PrintList()
        {
            RegistryReportMng reportMng = new RegistryReportMng(AppContext.ActiveSchema, this.Text, this.FilterValues);

            ReportClass report = null;

            switch (_tipo)
            {
            case ETipoRegistro.Fomento:
                report = reportMng.GetListFomentoReport(LineaRegistroList.GetList(Datos.DataSource as IList <LineaRegistroInfo>));
                break;

            default:
                report = reportMng.GetListReport(LineaRegistroList.GetList(Datos.DataSource as IList <LineaRegistroInfo>));
                break;
            }

            ShowReport(report);
        }