添加到选项卡的打印预览控件未刷新 [英] Print Preview Control added to a Tab is not refreshing

查看:127
本文介绍了添加到选项卡的打印预览控件未刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将打印预览控件添加到选项卡,在第一个表上将有一个富文本框,而我使用的是我们论坛建议的扩展的富文本框控件,在另一个选项卡中是打印预览控制.当我切换选项卡以查看预览时,应在该预览选项卡中预览在富文本框中键入的文本内容.

我使用了一个打印文档,该文档将用于打印富文本.用户单击选项卡时,文本框内容和打印文档将用于打印预览控制.

我遇到一个问题,当我在富文本框中输入内容并第一次移动到预览选项卡时,将内容打印在预览控件上,当我返回上一个选项卡并进行一些修改时,返回预览,现在内容不刷新.我无法获得所做的更改.第二次.

任何帮助都会有所帮助.

I have a requirement to add print preview control to a tab, on first table there'll be a rich text box and I am using the extended rich text box control which is suggested by our forum, in another tab the print preview control. As and when I switch the tab to see the preview the text content typed in rich text box should be previewed in that preview tab.

I have used a print document to which will be used for printing the rich text box contents and the print document will then be used for print preview control when the user clicks the tab.

I am facing a problem where when I enter contents to rich text box and first time move to preview tab the contents are printed on the preview control, when I come back to previous tab and do some modification and go back to preview, now the contents are not refreshed. I am not able to get the changes that I've made  second time.

Any help would be helpful.

推荐答案



谢谢该职位.我建议根据您的工作情况在任何一个论坛中发布您的问题.

http://social.msdn.microsoft.com/Forums/en-us/wpf/threads/

http://forums.asp.net/

希望对您有所帮助.

Hi,

Thank you for the post. I would suggest posting your question in any of the Forums, depending on what you are working on.

http://social.msdn.microsoft.com/forums/en-US/winforms/threads/

http://social.msdn.microsoft.com/Forums/en-us/wpf/threads/

http://forums.asp.net/

Hope this helps you.

祝你有美好的一天!


这篇关于添加到选项卡的打印预览控件未刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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