internal bool Print() { if (batchSet.ShowDialog() == DialogResult.OK) { if (PrintUtil.ShowPrintDlg(batchSet.PrintListData.ProjectPDF) == DialogResult.OK) { backgroundWorker.RunWorkerAsync(""); return(true); } } return(false); }
private void printPage_Click(object sender, EventArgs e) { if (PrintUtil.ShowPrintDlg() == DialogResult.OK) { if (report.ProjectDataManager != null) { report.MutliProjectPrint(); } else { report.Print(); } } }
public void print_Click(object sender, EventArgs e) { if (curReport != null) { if (curReport.IsDoc) { //打印WORD格式报表 ReportHelper.PrintWord(curReport.DocPath, curReport.Data.MacorsVerbCollection); } else { PrintUtil.ShowPrintDlg(); curReport.InitReportData(this.projectDataManager, 0); curReport.MutliProjectPrint(); } } }