如何单独打印两个不同的mdi子窗体 [英] how to print two different mdi childform seperately

查看:75
本文介绍了如何单独打印两个不同的mdi子窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在打印MDI子表时遇到一个问题。我有两个不同的子形式,比如f2和f3与父f1。我在f2中有一个PictureBox,我要打印的图像和f3中的一个RichTextBox,要打印文本。我想分别或顺序打印两个子窗体,比如说,首先是f2然后是f3。

如何以父窗体f1控制打印?任何人都可以就这个问题给我一些建议吗?

Hi all,

I encounter one problem on printing MDI child form. I have two different child forms, say f2 and f3 with parent f1. I have a PictureBox in f2, with my image to be printed and one RichTextBox in f3 with text to be printed. I want to print the two child forms separately or sequentially, say, first f2 then f3.
How do I control the printing in parent form, f1? Can anyone give me some suggestions on this issue?

推荐答案

我在网上找到的是打印活动表格的解决方案,这里是链接:

https://social.msdn.microsoft.com/Forums/windows/en-US/b1d9c023-8032-48f8-8092-dbc976607081/printing-active-mdi-child-c?forum=winforms [ ^ ]
What I can find online is the solution to print the active form, and here is the link:
https://social.msdn.microsoft.com/Forums/windows/en-US/b1d9c023-8032-48f8-8092-dbc976607081/printing-active-mdi-child-c?forum=winforms[^]


这篇关于如何单独打印两个不同的mdi子窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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