コード例 #1
0
        private void BuildWeeklyReport(long worldID)
        {
            _weeklyReportPrintController.CurrentWorldID = worldID;

            if (_hideSums)
            {
                TimePlanningWeelkyNoSummary detailsSubreport = new TimePlanningWeelkyNoSummary();
                detailsSubreport.Controller = _weeklyReportPrintController;

                subreportDetails.ReportSource = detailsSubreport;
            }
            else
            {
                TimePlanningWeekly detailsSubreport = new TimePlanningWeekly();
                detailsSubreport.Controller = _weeklyReportPrintController;

                subreportDetails.ReportSource = detailsSubreport;
            }
        }
コード例 #2
0
        private void BuildWeeklyReport(long worldID)
        {
            _weeklyReportPrintController.CurrentWorldID = worldID;

            if (_hideSums)
            {
                TimePlanningWeelkyNoSummary detailsSubreport = new TimePlanningWeelkyNoSummary();
                detailsSubreport.Controller = _weeklyReportPrintController;

                subreportDetails.ReportSource = detailsSubreport;
            } else
            {
                TimePlanningWeekly detailsSubreport = new TimePlanningWeekly();
                detailsSubreport.Controller = _weeklyReportPrintController;

                subreportDetails.ReportSource = detailsSubreport;
            }
        }