private void crReportContainer_Load(object sender, EventArgs e) { try { dummyReport rptXMLReport = new dummyReport(); crystalReportViewer1.ReportSource = rptXMLReport; crystalReportViewer1.Refresh(); } catch (Exception ex) { MessageBox.Show(ex.Message); } this.Close(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { dummyReport rpt = new dummyReport(); rpt.Site = this.Site; return rpt; }