Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="reportName"></param>
        /// <param name="dataSourceDict"></param>
        /// <param name="parameters"></param>
        public LocalReportPrinter(string reportName, Dictionary <string, object> dataSourceDict, NameValueCollection parameters)
        {
            LocalReport report = new LocalReport();

            ReportHelper.LoadReport(report, reportName, dataSourceDict, parameters);

            _report                = report;
            _fileManagerWrapper    = new FileManagerWrapper();
            this._processingThread = new ProcessingThread();
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="report"></param>
 internal LocalReportPrinter(LocalReport report)
 {
     _report                = report;
     _fileManagerWrapper    = new FileManagerWrapper();
     this._processingThread = new ProcessingThread();
 }