private void OpenReportFiles(List <string> arrCaptions, List <string> arrReportFiles) { if (m_bOpenReportFiles) { for (int i = 0; i < arrReportFiles.Count; i++) { string sFile = arrReportFiles[i]; string sCaption = arrCaptions[i]; bool bDeleteOnClose = (m_ReportFileDestination == ReportFileDestination.TempFiles); Form1.OpenReportDelegate ord = new Form1.OpenReportDelegate(m_formParent.OpenReport); m_formParent.Invoke(ord, new Object[] { sFile, sCaption, bDeleteOnClose }); } } }
private void OpenReportFiles( List<string> arrCaptions, List<string> arrReportFiles ) { if ( m_bOpenReportFiles ) { for ( int i = 0; i < arrReportFiles.Count; i++ ) { string sFile = arrReportFiles[i]; string sCaption = arrCaptions[i]; bool bDeleteOnClose = (m_ReportFileDestination == ReportFileDestination.TempFiles); Form1.OpenReportDelegate ord = new Form1.OpenReportDelegate(m_formParent.OpenReport); m_formParent.Invoke( ord, new Object[] {sFile, sCaption, bDeleteOnClose} ); } } }