* UIPanel:增加双缓冲,减少闪烁
This commit is contained in:
parent
bba42050c8
commit
b504d895bb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -48,6 +48,7 @@ namespace Sunny.UI
|
|||||||
AutoScaleMode = AutoScaleMode.None;
|
AutoScaleMode = AutoScaleMode.None;
|
||||||
base.Font = UIFontColor.Font;
|
base.Font = UIFontColor.Font;
|
||||||
base.MinimumSize = new System.Drawing.Size(1, 1);
|
base.MinimumSize = new System.Drawing.Size(1, 1);
|
||||||
|
SetStyleFlags(true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void SetStyleFlags(bool supportTransparent = true, bool selectable = true, bool resizeRedraw = false)
|
protected void SetStyleFlags(bool supportTransparent = true, bool selectable = true, bool resizeRedraw = false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user