public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport3 rpt = new CrystalReport3();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            CrystalReport3 crp = new CrystalReport3();

            crp.Refresh();
            crystalReportViewer1.ReportSource = crp;
        }
Beispiel #3
0
        private void button3_Click(object sender, EventArgs e)
        {
            Viewfrm        vf  = new Viewfrm();
            CrystalReport3 rpt = new CrystalReport3();

            vf.crystalReportViewer1.ReportSource = rpt;
            vf.Show();
        }