![](https://img2022.cnblogs.com/blog/934484/202208/934484-20220824102458251-1841544140.png)
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
技术交流qq群:143280841