public FrmCrystalReport(VehicleExportParkTicket vehicleTicket, UserInfo userInfo)
 {
     InitializeComponent();
     _userInfo = userInfo;
     crystalReportViewer1.ReportSource = vehicleTicket;
     this.WindowState = FormWindowState.Maximized;
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     VehicleExportParkTicket rpt = new VehicleExportParkTicket();
     rpt.Site = this.Site;
     return rpt;
 }