2012年7月17日

winform打印多页去掉"正在打印"提示窗口,直接打印

摘要: 原本只需要有printDocument1.Print();这段代码就可以了,但是现在为了要去掉“正在打印”的提示窗口所以需要在上面的代码前面加入以下两行代码即可。注意要引用using System.Drawing.Printing;//以下是打印的完成程序StandardPrintController spc = new StandardPrintController(); printDocument1.PrintController = spc; printDo... 阅读全文

posted @ 2012-07-17 10:02 俄罗斯水手 阅读(343) 评论(0) 推荐(0) 编辑

导航