예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport1 rpt = new CrystalReport1();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #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);
     }
 }