* UILoginForm:更新显示版本
This commit is contained in:
parent
8f998a8297
commit
518f04bc8c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -170,7 +170,7 @@ namespace Sunny.UI.Demo
|
|||||||
frm.ShowInTaskbar = true;
|
frm.ShowInTaskbar = true;
|
||||||
frm.Text = "Login";
|
frm.Text = "Login";
|
||||||
frm.Title = "SunnyUI.Net Login Form";
|
frm.Title = "SunnyUI.Net Login Form";
|
||||||
frm.SubText = "SunnyUI.Net V2.2.5";
|
frm.SubText = Version;
|
||||||
frm.OnLogin += Frm_OnLogin;
|
frm.OnLogin += Frm_OnLogin;
|
||||||
frm.LoginImage = UILoginForm.UILoginImage.Login2;
|
frm.LoginImage = UILoginForm.UILoginImage.Login2;
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
|
7
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
7
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
@ -35,6 +35,10 @@
|
|||||||
//
|
//
|
||||||
this.lblTitle.Text = "SunnyUI.Net Login Form";
|
this.lblTitle.Text = "SunnyUI.Net Login Form";
|
||||||
//
|
//
|
||||||
|
// lblSubText
|
||||||
|
//
|
||||||
|
this.lblSubText.Text = "SunnyUI.Net";
|
||||||
|
//
|
||||||
// FLogin
|
// FLogin
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
||||||
@ -43,10 +47,11 @@
|
|||||||
this.ClientSize = new System.Drawing.Size(750, 450);
|
this.ClientSize = new System.Drawing.Size(750, 450);
|
||||||
this.LoginImage = Sunny.UI.UILoginForm.UILoginImage.Login6;
|
this.LoginImage = Sunny.UI.UILoginForm.UILoginImage.Login6;
|
||||||
this.Name = "FLogin";
|
this.Name = "FLogin";
|
||||||
|
this.SubText = "SunnyUI.Net";
|
||||||
this.Text = "SunnyUI.Net Login Form";
|
this.Text = "SunnyUI.Net Login Form";
|
||||||
|
this.Title = "SunnyUI.Net Login Form";
|
||||||
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
|
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@ namespace Sunny.UI
|
|||||||
public UILoginForm()
|
public UILoginForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
lblSubText.Text = lblSubText.Version;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Title
|
public string Title
|
||||||
@ -43,7 +44,7 @@ namespace Sunny.UI
|
|||||||
if (loginImage == UILoginImage.Login4) BackgroundImage = Resources.Login4;
|
if (loginImage == UILoginImage.Login4) BackgroundImage = Resources.Login4;
|
||||||
if (loginImage == UILoginImage.Login5) BackgroundImage = Resources.Login5;
|
if (loginImage == UILoginImage.Login5) BackgroundImage = Resources.Login5;
|
||||||
if (loginImage == UILoginImage.Login6) BackgroundImage = Resources.Login6;
|
if (loginImage == UILoginImage.Login6) BackgroundImage = Resources.Login6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,4 +107,4 @@ namespace Sunny.UI
|
|||||||
set => edtPassword.Text = value;
|
set => edtPassword.Text = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user