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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
 private void button16_Click(object sender, EventArgs e)
 {
     try
     {
         customerReport1 = new CustomerReport();
         customerReport1.Load("../../CustomerReport.rpt");
         my_rpt = new Reporting1();
         my_rpt.crystalReportViewer1.ReportSource = customerReport1;
         my_rpt.crystalReportViewer1.RefreshReport();
         my_rpt.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 3
0
 private void button16_Click(object sender, EventArgs e)
 {
     try
     {
         customerReport1 = new CustomerReport();
         customerReport1.Load("../../CustomerReport.rpt");
         my_rpt = new Reporting1();
         my_rpt.crystalReportViewer1.ReportSource = customerReport1;
         my_rpt.crystalReportViewer1.RefreshReport();
         my_rpt.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CustomerReport rpt = new CustomerReport();
     rpt.Site = this.Site;
     return rpt;
 }