How to double buffer .NET controls on a form?

后端 未结 12 1923
旧巷少年郎
旧巷少年郎 2020-11-22 16:21

How can I set the protected DoubleBuffered property of the controls on a form that are suffering from flicker?

12条回答
  •  我在风中等你
    2020-11-22 16:59

    You can also inherit the controls into your own classes, and set the property in there. This method is also nice if you tend to be doing a lot of set up that is the same on all of the controls.

提交回复
热议问题