Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteDos rpt = new ReporteDos();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
 public pruebapdf(int index)
 {
     InitializeComponent();
     if (index == 1)
     {
         //ReporteTres rpt = new ReporteTres();
         jfdjoklvf rpt = new jfdjoklvf();
         crystalReportViewer1.ReportSource = rpt;
     }
     else if (index == 2)
     {
         ReporteDos rpt = new ReporteDos();
         crystalReportViewer1.ReportSource = rpt;
     }
 }