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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
 private void Reports_Load(object sender, EventArgs e)
 {
     try
     {
         CR  = new CrystalReport1();
         CR2 = new CrystalReport2();
         foreach (ParameterDiscreteValue v in CR2.ParameterFields[0].DefaultValues)
         {
             comboBox1.Items.Add(v.Value);
         }
         CR3 = new CrystalReport3();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }