如何在Windows窗体中停止闪烁 [英] How Do I Stop Flickering In Windows Form

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

问题描述

我正在创建一个绘图应用程序,我需要摆脱每次刷新面板时发生的闪烁。



我已经将DoubleBuffered设置为没错,但它仍然闪烁。



我也尝试过只使用Panel的必要部分。但它也没有解决问题。



如何阻止它? Microsoft Guys如何应对Microsoft Paint中的这个问题?



任何帮助都将不胜感激。

解决方案

< blockquote>查看/研究其他人如何做到这一点: http://pinta-project.com/ [ ^ ]


I am creating a paint application and i need to get rid of the flickering that is happening every time while refreshing the panel.

I have already set DoubleBuffered to True but its still flickering.

I have also tried Invalidating only the necessary part of the Panel. But it also didn't fix the problem.

How do i stop it ? How did the Microsoft Guys coped with this problem in Microsoft Paint ?

Any help would be appreciated.

解决方案

See/research how others are doing it : http://pinta-project.com/[^]


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

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