更新了UILoginForm图片,可以放置Logo
This commit is contained in:
parent
4c046a2002
commit
91b8bead39
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.
25
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
25
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
@ -28,27 +28,44 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FLogin));
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblTitle
|
||||
//
|
||||
this.lblTitle.Text = "SunnyUI Login Form";
|
||||
this.lblTitle.Text = "SunnyUI.Net Login Form";
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(208)))), ((int)(((byte)(250)))));
|
||||
this.pictureBox1.Image = global::Sunny.UI.Demo.Properties.Resources.SunnyLogin;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(183, 212);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(71, 71);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox1.TabIndex = 9;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// FLogin
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
|
||||
this.ClientSize = new System.Drawing.Size(750, 450);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Name = "FLogin";
|
||||
this.Text = "SunnyUI Login Form";
|
||||
this.Text = "SunnyUI.Net Login Form";
|
||||
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
|
||||
this.Controls.SetChildIndex(this.lblTitle, 0);
|
||||
this.Controls.SetChildIndex(this.pictureBox1, 0);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
}
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace Sunny.UI.Demo.Forms
|
||||
namespace Sunny.UI.Demo.Forms
|
||||
{
|
||||
public partial class FLogin : UILoginForm
|
||||
{
|
||||
@ -9,7 +7,7 @@ namespace Sunny.UI.Demo.Forms
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void FLogin_ButtonLoginClick(object sender, EventArgs e)
|
||||
private void FLogin_ButtonLoginClick(object sender, System.EventArgs e)
|
||||
{
|
||||
if (UserName == "admin" && Password == "admin")
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
10
SunnyUI.Demo/Properties/Resources.Designer.cs
generated
10
SunnyUI.Demo/Properties/Resources.Designer.cs
generated
@ -290,6 +290,16 @@ namespace Sunny.UI.Demo.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap SunnyLogin {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("SunnyLogin", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
|
@ -187,6 +187,9 @@
|
||||
<data name="save0" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\save0.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="SunnyLogin" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\SunnyLogin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="SunnyUI" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\SunnyUI.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
BIN
SunnyUI.Demo/Resources/SunnyLogin.png
Normal file
BIN
SunnyUI.Demo/Resources/SunnyLogin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
@ -445,6 +445,7 @@
|
||||
<None Include="Resources\ChartDarkStyle.png" />
|
||||
<None Include="Resources\ChartDefaultStyle.png" />
|
||||
<None Include="Resources\ChartPlainStyle.png" />
|
||||
<None Include="Resources\SunnyLogin.png" />
|
||||
<Content Include="SunnyUI.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
|
BIN
SunnyUI/Resources/Browse.plb
Normal file
BIN
SunnyUI/Resources/Browse.plb
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 93 KiB |
Loading…
x
Reference in New Issue
Block a user