Inheritance: ReportClass
Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Lift rpt = new Lift();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
 private void crystalReportViewer1_Load(object sender, EventArgs e)
 {
     switch (this._tblName)
     {
         case "Service":
             Service service = new Service();
             service.SetDataSource(this._dtbl);
             this.crystalReportViewer1.ReportSource = service;
             break;
         case "Lift":
             Lift lift = new Lift();
             lift.SetDataSource(this._dtbl);
             this.crystalReportViewer1.ReportSource = lift;
             break;
         default:
             break;
     }
 }
Ejemplo n.º 3
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            switch (this._tblName)
            {
            case "Service":
                Service service = new Service();
                service.SetDataSource(this._dtbl);
                this.crystalReportViewer1.ReportSource = service;
                break;

            case "Lift":
                Lift lift = new Lift();
                lift.SetDataSource(this._dtbl);
                this.crystalReportViewer1.ReportSource = lift;
                break;

            default:
                break;
            }
        }
Ejemplo n.º 4
0
Archivo: Lift.cs Proyecto: NanQi/demo
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     Lift rpt = new Lift();
     rpt.Site = this.Site;
     return rpt;
 }