How do I double buffer a Panel?

前端 未结 5 1907
一个人的身影
一个人的身影 2020-11-29 06:38

I have a panel that has a roulette wheel on it, and I need to double buffer the panel, so that it stops flickering. Can anyone help me out?

EDIT:

Yes, I have

5条回答
  •  爱一瞬间的悲伤
    2020-11-29 07:31

    Winform panels have a DoubleBuffered property.

    Edit: I should have noticed that it was protected. Others have described how to sub-class it. :)

提交回复
热议问题