Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FlightsReport rpt = new FlightsReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
 private void FlightsReportForm_Load(object sender, EventArgs e)
 {
     CR = new FlightsReport();
     foreach (ParameterDiscreteValue v in CR.ParameterFields[0].DefaultValues)
     {
         CMB_CompanyName.Items.Add(v.Value);
     }
     foreach (ParameterDiscreteValue v in CR.ParameterFields[1].DefaultValues)
     {
         CMB_FlightDate.Items.Add(v.Value);
     }
 }