示例#1
0
        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();
        }
示例#2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     dummyReport rpt = new dummyReport();
     rpt.Site = this.Site;
     return rpt;
 }