C# 使用printDocument1.Print打印时不显示 正在打印对话框

C#使用printDocument1.Print打印时不显示正在打印对话框有两种方法

第一种,使用PrintController

      PrintController printController = new StandardPrintController();    
      printDocument1.PrintController = printController;
      printDocument1.Print();

第二种,把窗体的TopMost设为True

原文地址:https://www.cnblogs.com/qqhfeng/p/4263647.html