Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            OccupancyRates rpt = new OccupancyRates();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void ViewOccupancyRates_Load(object sender, EventArgs e)
        {
            var report = new OccupancyRates();

            OccupancyRatesReport.ReportSource = report;
        }