public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport3 rpt = new CrystalReport3(); rpt.Site = this.Site; return(rpt); }
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); } }