如何在窗口应用程序中打印之前预览打印按钮上的数据。 [英] How to preview data on print button before the print in window application.
本文介绍了如何在窗口应用程序中打印之前预览打印按钮上的数据。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有一些记录的datagridview,我想在打印前预览打印按钮上的所有数据。
I have a datagridview with some record and i want to preview all data on print button before print.
推荐答案
你需要添加PrintPreview Control。请查看以下文章,了解如何添加PrintPreview控件和实现。
http://www.c-sharpcorner.com/uploadfile/mahesh/printpreviewcontrol-in-C-Sharp/ [ ^ ]
You need to add PrintPreview Control for that. Check out below article for adding PrintPreview control and implementing.
http://www.c-sharpcorner.com/uploadfile/mahesh/printpreviewcontrol-in-C-Sharp/[^]
这篇关于如何在窗口应用程序中打印之前预览打印按钮上的数据。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文