如何清除Windows窗体中的闪烁 [英] how to clear flickering in windows form

查看:125
本文介绍了如何清除Windows窗体中的闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用了mdi parent,并为其设置了一些背景图片.

使用此MDI,我在其中调用了2个表单,并且此拖曳的背景是透明的.

当我运行程序时,表单闪烁,任何人都可以帮助我解决问题.



i used mdi parent and set some background image to it.

using this mdi i call 2 form in it, and the background of this tow is transparent.

when i run the program the form is flickering can any one help me to solve the issue.

推荐答案

您需要在表单和/或控件上启用双重缓冲.

MSDN文章: http://msdn.microsoft.com/en-us/library/3t7htc9c.aspx [^ ]
You need to enable double-buffering on your forms and/or controls.

MSDN article: http://msdn.microsoft.com/en-us/library/3t7htc9c.aspx[^]


UpdatePanel可以帮助减少屏幕上的闪烁.
UpdatePanel can help reduce flicker on the screen.


这篇关于如何清除Windows窗体中的闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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