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; } }