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