* UIForm:写WIKI时更新了一些描述。
This commit is contained in:
parent
917888c3c3
commit
d7fd994016
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -161,10 +161,6 @@ namespace Sunny.UI
|
|||||||
SetStyle(UIStyles.Style);
|
SetStyle(UIStyles.Style);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UIForm_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnBackColorChanged(EventArgs e)
|
protected override void OnBackColorChanged(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnBackColorChanged(e);
|
base.OnBackColorChanged(e);
|
||||||
@ -306,7 +302,7 @@ namespace Sunny.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 当前控件的版本
|
/// 当前控件的版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Description("控件版本"), Category("SunnyUI"), DefaultValue(true)]
|
[Description("控件版本"), Category("SunnyUI")]
|
||||||
public string Version { get; }
|
public string Version { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -371,13 +367,8 @@ namespace Sunny.UI
|
|||||||
[Description("标题栏颜色"), Category("SunnyUI"), DefaultValue(typeof(Color), "80, 160, 255")]
|
[Description("标题栏颜色"), Category("SunnyUI"), DefaultValue(typeof(Color), "80, 160, 255")]
|
||||||
public Color TitleColor
|
public Color TitleColor
|
||||||
{
|
{
|
||||||
get => titleColor;
|
get => RectColor;
|
||||||
set
|
set => RectColor = value;
|
||||||
{
|
|
||||||
titleColor = value;
|
|
||||||
_style = UIStyle.Custom;
|
|
||||||
Invalidate();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -1228,9 +1219,9 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Description("使用Esc键关闭窗口"), Category("Key")]
|
[Description("使用Esc键关闭窗口"), Category("SunnyUI")]
|
||||||
[DefaultValue(true)]
|
[DefaultValue(false)]
|
||||||
public bool EscClose { get; set; } = true;
|
public bool EscClose { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Does the escape.
|
/// Does the escape.
|
||||||
@ -1371,6 +1362,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Description("窗体关闭时提示文字,为空则不提示"), Category("SunnyUI"), DefaultValue(null)]
|
||||||
public string CloseAskString { get; set; }
|
public string CloseAskString { get; set; }
|
||||||
|
|
||||||
protected override CreateParams CreateParams
|
protected override CreateParams CreateParams
|
||||||
|
1
SunnyUI/Forms/UIForm.designer.cs
generated
1
SunnyUI/Forms/UIForm.designer.cs
generated
@ -46,7 +46,6 @@
|
|||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = "UIForm";
|
this.Text = "UIForm";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UIForm_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.UIForm_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.UIForm_Load);
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user