相关疑难解决方法(0)

Winforms双缓冲

我将此添加到我的表单的构造函数代码中:

this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true);
Run Code Online (Sandbox Code Playgroud)

但是当它加载控件时,无论何时更改(表单及其组件经常更改(需要更新)),它仍会显示丑陋的工件.

我需要做些什么不同的事情?

c# doublebuffered winforms

28
推荐指数
1
解决办法
2万
查看次数

标签 统计

c# ×1

doublebuffered ×1

winforms ×1