首页 > 其他分享 >Dev XtraReport 正在打印弹出框如何隐藏 批量打印 静默打印

Dev XtraReport 正在打印弹出框如何隐藏 批量打印 静默打印

时间:2022-08-24 10:34:21浏览次数:48  
标签:打印 Dev StartPrint XtraReport Report public PrintingSystem

 

 

public partial class Report_Code : XtraReport
{
public Report_Code()
{
InitializeComponent();
this.PrintingSystem.StartPrint += PrintingSystem_StartPrint;
}

private void PrintingSystem_StartPrint(object sender, DevExpress.XtraPrinting.PrintDocumentEventArgs e)
{
// 取消打印状态窗口
e.PrintDocument.PrintController = new System.Drawing.Printing.StandardPrintController();
}

这样可以避免在设计代码里添加

https://www.cnblogs.com/shangdishijiao/p/10710731.html

标签:打印,Dev,StartPrint,XtraReport,Report,public,PrintingSystem
From: https://www.cnblogs.com/zuochanzi/p/16618950.html

相关文章