* 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.Text = "Login";
|
||||
frm.Title = "SunnyUI.Net Login Form";
|
||||
frm.SubText = "SunnyUI.Net V2.2.5";
|
||||
frm.SubText = Version;
|
||||
frm.OnLogin += Frm_OnLogin;
|
||||
frm.LoginImage = UILoginForm.UILoginImage.Login2;
|
||||
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";
|
||||
//
|
||||
// lblSubText
|
||||
//
|
||||
this.lblSubText.Text = "SunnyUI.Net";
|
||||
//
|
||||
// FLogin
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
||||
@ -43,10 +47,11 @@
|
||||
this.ClientSize = new System.Drawing.Size(750, 450);
|
||||
this.LoginImage = Sunny.UI.UILoginForm.UILoginImage.Login6;
|
||||
this.Name = "FLogin";
|
||||
this.SubText = "SunnyUI.Net";
|
||||
this.Text = "SunnyUI.Net Login Form";
|
||||
this.Title = "SunnyUI.Net Login Form";
|
||||
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@ namespace Sunny.UI
|
||||
public UILoginForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
lblSubText.Text = lblSubText.Version;
|
||||
}
|
||||
|
||||
public string Title
|
||||
@ -43,7 +44,7 @@ namespace Sunny.UI
|
||||
if (loginImage == UILoginImage.Login4) BackgroundImage = Resources.Login4;
|
||||
if (loginImage == UILoginImage.Login5) BackgroundImage = Resources.Login5;
|
||||
if (loginImage == UILoginImage.Login6) BackgroundImage = Resources.Login6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -106,4 +107,4 @@ namespace Sunny.UI
|
||||
set => edtPassword.Text = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user