Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport14 rpt = new CrystalReport14();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            frm_reporteVenta frm = new frm_reporteVenta();
            CrystalReport14  cr  = new CrystalReport14();

            frm.crystalReportViewer1.ReportSource = cr;
            frm.crystalReportViewer1.RefreshReport();
            frm.ShowDialog();
        }