public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { reporteAnual rpt = new reporteAnual(); rpt.Site = this.Site; return(rpt); }
private void reporteAnual_Form_Load(object sender, EventArgs e) { reporteAnual rptAnual = new reporteAnual(); rptAnual.SetParameterValue("_FInicio", Finicio); rptAnual.SetParameterValue("_Ffinal", Ffinal); ReportViewerAnual.ReportSource = rptAnual; }