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