本文介绍了如何品脱窗户形式. C#.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的.
我有一个带有某些文本框和标签的Windows窗体,我想有一个按钮来打印我的窗体.
{ Microsoft.VisualBasic.PowerPacks.Printing.PrintForm PrintForm1 = 新 Microsoft.VisualBasic.PowerPacks.Printing.PrintForm(); // 可以打印表格的控件 PrintForm1.PrintAction = Printing.PrintAction.PrintToPrinter; PrintForm1.Print(此,PowerPacks.Printing.PrintForm.PrintOption.Scrollable); }
祝您编码愉快!
:)
Hi dears.
i have one windows form with some textboxes and lables i want to have a button to print my form.
解决方案
这篇关于如何品脱窗户形式. C#.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!