Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            dummyReport rpt = new dummyReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
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();
        }