* UIPage:恢复删除的Initialize事件
This commit is contained in:
parent
5b7c07c51c
commit
c588cec21f
@ -40,7 +40,10 @@ namespace Sunny.UI
|
||||
protected UIStyle _style = UIStyle.Blue;
|
||||
|
||||
[Browsable(false)]
|
||||
public IFrame Frame { get; set; }
|
||||
public IFrame Frame
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public UIPage()
|
||||
{
|
||||
@ -113,7 +116,10 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
[DefaultValue(false), Description("在Frame框架中不被关闭"), Category("SunnyUI")]
|
||||
public bool AlwaysOpen { get; set; }
|
||||
public bool AlwaysOpen
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
protected virtual void SymbolChange()
|
||||
{
|
||||
@ -180,9 +186,15 @@ namespace Sunny.UI
|
||||
/// </summary>
|
||||
[DefaultValue(null)]
|
||||
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
|
||||
public string TagString { get; set; }
|
||||
public string TagString
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public string Version { get; }
|
||||
public string Version
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主题样式
|
||||
@ -199,7 +211,12 @@ namespace Sunny.UI
|
||||
/// </summary>
|
||||
[DefaultValue(false)]
|
||||
[Description("获取或设置可以自定义主题风格"), Category("SunnyUI")]
|
||||
public bool StyleCustomMode { get; set; }
|
||||
public bool StyleCustomMode
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public event EventHandler Initialize;
|
||||
|
||||
protected override void OnControlAdded(ControlEventArgs e)
|
||||
{
|
||||
@ -243,7 +260,7 @@ namespace Sunny.UI
|
||||
|
||||
public virtual void Init()
|
||||
{
|
||||
|
||||
Initialize?.Invoke(this, null);
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
@ -554,10 +571,16 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public new bool MinimizeBox { get; set; }
|
||||
public new bool MinimizeBox
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public new bool MaximizeBox { get; set; }
|
||||
public new bool MaximizeBox
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
#region 一些辅助窗口
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user