* UIForm,UIPage:更改新建窗体时主题未设置的问题
This commit is contained in:
parent
f9fa9baca3
commit
96c318a979
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
Binary file not shown.
@ -1085,6 +1085,11 @@ namespace Sunny.UI
|
||||
|
||||
public string CloseAskString { get; set; }
|
||||
|
||||
private void UIForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
SetStyle(UIStyles.Style);
|
||||
}
|
||||
|
||||
private FormWindowState windowState = FormWindowState.Normal;
|
||||
|
||||
public new FormWindowState WindowState
|
||||
|
1
SunnyUI/Forms/UIForm.designer.cs
generated
1
SunnyUI/Forms/UIForm.designer.cs
generated
@ -39,6 +39,7 @@
|
||||
this.Name = "UIForm";
|
||||
this.Text = "UIForm";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UIForm_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.UIForm_Shown);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
3
SunnyUI/Pages/UIPage.Designer.cs
generated
3
SunnyUI/Pages/UIPage.Designer.cs
generated
@ -34,7 +34,6 @@
|
||||
//
|
||||
// UIPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(802, 460);
|
||||
this.DoubleBuffered = true;
|
||||
@ -46,7 +45,7 @@
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
||||
this.Text = "UIPage";
|
||||
this.TopLevel = false;
|
||||
this.Shown += new System.EventHandler(this.UIPage_Shown);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
@ -234,5 +234,10 @@ namespace Sunny.UI
|
||||
AfterSetForeColor(ForeColor);
|
||||
_style = UIStyle.Custom;
|
||||
}
|
||||
|
||||
private void UIPage_Shown(object sender, EventArgs e)
|
||||
{
|
||||
SetStyle(UIStyles.Style);
|
||||
}
|
||||
}
|
||||
}
|
@ -3,6 +3,7 @@
|
||||
2020.06.04
|
||||
+ UIRichTextBox:新增
|
||||
* UITextBox:完善TextBox的基本方法和函数
|
||||
* UIForm,UIPage:更改新建窗体时主题未设置的问题
|
||||
|
||||
2020.06.04
|
||||
+ UIBattery 新增
|
||||
|
Loading…
x
Reference in New Issue
Block a user