public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { OccupancyTrend rpt = new OccupancyTrend(); rpt.Site = this.Site; return(rpt); }
private void ViewOccupancyTrend_Load(object sender, EventArgs e) { var report = new OccupancyTrend(); OccupancyTrendReport.ReportSource = report; }