Example #1
0
 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);
     }
 }