[英]Print Winforms panel and gridview in c#
New to printing and I have a form with 2 blocks. 印刷新手,我有一个2块的表格。 The first one is a panel with labels and textboxes arranged in 5 rows and 2 cols. 第一个是一个面板,其中的标签和文本框排成5行2列。 Below this is a grid view that displays items. 在此下方是显示项目的网格视图。 I like the present look of the form and would like to print it,as it is, just that the grid's list can go to second page too. 我喜欢表单的当前外观,并希望将其打印出来,因为网格的列表也可以转到第二页。 Please tell me the best approach to start/print this. 请告诉我开始/打印此内容的最佳方法。
Thank you. 谢谢。
(My reputation is 10 but still unable to add img.why?) (我的声誉是10,但仍然无法添加img。为什么?)
I previously write a class for Print data grid view content 我以前为打印数据网格视图内容编写了一个类
Add this class to your project: print data grid view 将此类添加到您的项目: 打印数据网格视图
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.