* UILoginForm:增加Titie设置标题,保留Text
This commit is contained in:
parent
c615526a9f
commit
3a3ab1bf2d
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.
Binary file not shown.
@ -164,7 +164,9 @@ namespace Sunny.UI.Demo
|
|||||||
private void uiSymbolButton3_Click(object sender, EventArgs e)
|
private void uiSymbolButton3_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
UILoginForm frm = new UILoginForm();
|
UILoginForm frm = new UILoginForm();
|
||||||
frm.Text = "SunnyUI.Net Login Form";
|
frm.ShowInTaskbar = true;
|
||||||
|
frm.Text = "Login";
|
||||||
|
frm.Title = "SunnyUI.Net Login Form";
|
||||||
frm.SubText = "SunnyUI.Net V2.2.5";
|
frm.SubText = "SunnyUI.Net V2.2.5";
|
||||||
frm.OnLogin += Frm_OnLogin;
|
frm.OnLogin += Frm_OnLogin;
|
||||||
frm.LoginImage = UILoginForm.UILoginImage.Login2;
|
frm.LoginImage = UILoginForm.UILoginImage.Login2;
|
||||||
|
@ -13,7 +13,7 @@ namespace Sunny.UI
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public new string Text
|
public string Title
|
||||||
{
|
{
|
||||||
get => lblTitle.Text;
|
get => lblTitle.Text;
|
||||||
set => lblTitle.Text = value;
|
set => lblTitle.Text = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user