winform 控件背景图闪烁,先显示黑块才显示背景图
winform 控件背景图闪烁,先显示黑块才显示背景图
这个问题有好的解决办法吗?
InitializeComponent();
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.UserPaint, true);
这样写的双缓冲也没感觉到效果 求教