private void button1_Click(object sender, EventArgs e)
 {
     VisorGenerosReport vgr = new VisorGenerosReport();
     GenerosReport gr = new GenerosReport();
     vgr.VisorcrystalReportViewer.ReportSource = gr;
     vgr.ShowDialog();
 }
Пример #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     GenerosReport rpt = new GenerosReport();
     rpt.Site = this.Site;
     return rpt;
 }