- for (int i = 0; i < printSetting.copies; i++)
- {
- try
- {
- GrapeCity.ActiveReports.PrintExtension.Print(pageReport.Document,
- showPrintDialog: printSetting.showPrintDialog,
- showPrintProgressDialog: printSetting.showPrintProgressDialog);
- }
- catch (Exception)
- {
- throw;
- }
- }
复制代码使用这段代码,循环多份打印,也没有捕捉到错误,程序直接闪退了,请问如何解决 |