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 Report2Form_Load(object sender, EventArgs e)
        {
            Cr = new CrystalReport2();

            foreach (ParameterDiscreteValue v in Cr.ParameterFields[0].DefaultValues)
            {
                inst_names.Items.Add(v.Value);
            }
        }