Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            dummyReport rpt = new dummyReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 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();
        }