如何使打印表单页面包含Windows窗体的内容 [英] how to make a print form page containig the contents of windows form

查看:64
本文介绍了如何使打印表单页面包含Windows窗体的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使打印表单页面包含Windows表单的内容.

how to make a print form page containig the contents of windows form.
can some one give me the coding.

推荐答案

最简单的方法是使用PrintForm组件 [ ^ ]-但这是一个令人讨厌的解决方案,不太可能产生美观的结果.

就个人而言,我会使用 PrintDocument [ ^ ]代替.这是更多的工作,但不是很多,您可以获得更好,更灵活的结果.
The simplest way is to use the PrintForm component[^] - but it is a nasty solution, and is unlikely to produce good looking results.

Personally, I would use a PrintDocument[^] instead. It''s more work, but not that much, and you get a much nicer, more flexible result.


这篇关于如何使打印表单页面包含Windows窗体的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆