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 crystal_form_Load(object sender, EventArgs e)
 {
     cr2 = new CrystalReport2();
     cr1 = new CrystalReport1();
     cr3 = new CrystalReport3();
     foreach (ParameterDiscreteValue v in cr2.ParameterFields[1].DefaultValues)
     {
         comboBox1.Items.Add(v.Value);
     }
 }