* 恢复UIForm前两天的修改

This commit is contained in:
Sunny 2021-01-20 11:02:23 +08:00
parent 3e6f3d1938
commit 4953c8d767
5 changed files with 5 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -43,6 +43,11 @@ namespace Sunny.UI
base.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);//设置最大化尺寸
InitializeComponent();
if (this.Register())
{
SetStyle(UIStyles.Style);
}
SetStyle(
ControlStyles.UserPaint |
ControlStyles.DoubleBuffer |
@ -73,10 +78,6 @@ namespace Sunny.UI
private void UIForm_Load(object sender, EventArgs e)
{
if (this.Register())
{
SetStyle(UIStyles.Style);
}
}
protected override void OnBackColorChanged(EventArgs e)