如何避免加载表单上的backgroundimage闪烁 [英] How to avoid flickering of backgroundimage on loading form

查看:89
本文介绍了如何避免加载表单上的backgroundimage闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



任何人都可以告诉我,如何在c#中加载表单时避免背景图像闪烁。我在Windows窗体的背景中添加了一个图像,它开始加载时会开始闪烁,如果控件更多则需要更多的时间来加载。我试过了

Hi all,

Can anybody tell me, how to avoid the background image from flickering while loading the form in c#. I have added an image to the background of my windows form, it starts flickering whenever it starts loading, if the controls are more then it takes even more time for loading. I tried

this.doublebuffered = true;



但这没有用。那么每次加载表格时如何避免这种闪烁..?



提前谢谢。


but this didn't help out. So how to avoid this flickering everytime i load the form..?

Thanks in advance.

推荐答案

请尝试以下链接



闪烁免费表格绘画 [ ^ ]



希望这有帮助
Please try below link

Flicker free Form Painting[^]

Hope this helps


这篇关于如何避免加载表单上的backgroundimage闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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