+ UILoginForm:新增两张背景图
This commit is contained in:
parent
6d93656a92
commit
78e7bfc136
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.
26
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
26
SunnyUI.Demo/Forms/FLogin.Designer.cs
generated
@ -1,4 +1,4 @@
|
|||||||
namespace Sunny.UI.Demo.Forms
|
namespace Sunny.UI.Demo
|
||||||
{
|
{
|
||||||
partial class FLogin
|
partial class FLogin
|
||||||
{
|
{
|
||||||
@ -29,24 +29,11 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FLogin));
|
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();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lblTitle
|
// lblTitle
|
||||||
//
|
//
|
||||||
this.lblTitle.Text = "SunnyUI.Net Login Form";
|
this.lblTitle.Text = "FLogin";
|
||||||
//
|
|
||||||
// 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(180, 208);
|
|
||||||
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
|
// FLogin
|
||||||
//
|
//
|
||||||
@ -54,20 +41,15 @@
|
|||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
|
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
|
||||||
this.ClientSize = new System.Drawing.Size(750, 450);
|
this.ClientSize = new System.Drawing.Size(750, 450);
|
||||||
this.Controls.Add(this.pictureBox1);
|
this.LoginImage = Sunny.UI.UILoginForm.UILoginImage.Login5;
|
||||||
this.Name = "FLogin";
|
this.Name = "FLogin";
|
||||||
this.Text = "SunnyUI.Net Login Form";
|
this.Text = "FLogin";
|
||||||
this.ButtonLoginClick += new System.EventHandler(this.FLogin_ButtonLoginClick);
|
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.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.PictureBox pictureBox1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
namespace Sunny.UI.Demo.Forms
|
namespace Sunny.UI.Demo
|
||||||
{
|
{
|
||||||
public partial class FLogin : UILoginForm
|
public partial class FLogin : UILoginForm
|
||||||
{
|
{
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -131,6 +131,12 @@
|
|||||||
<Compile Include="Controls\FCombobox.Designer.cs">
|
<Compile Include="Controls\FCombobox.Designer.cs">
|
||||||
<DependentUpon>FCombobox.cs</DependentUpon>
|
<DependentUpon>FCombobox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Forms\FLogin.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FLogin.Designer.cs">
|
||||||
|
<DependentUpon>FLogin.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Forms\FEdit.cs">
|
<Compile Include="Forms\FEdit.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -143,12 +149,6 @@
|
|||||||
<Compile Include="Forms\FEditor.Designer.cs">
|
<Compile Include="Forms\FEditor.Designer.cs">
|
||||||
<DependentUpon>FEditor.cs</DependentUpon>
|
<DependentUpon>FEditor.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Forms\FLogin.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Forms\FLogin.Designer.cs">
|
|
||||||
<DependentUpon>FLogin.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Forms\Frames\FAsideHeaderMainFooter.cs">
|
<Compile Include="Forms\Frames\FAsideHeaderMainFooter.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -334,15 +334,15 @@
|
|||||||
<EmbeddedResource Include="Controls\FContextMenuStrip.resx">
|
<EmbeddedResource Include="Controls\FContextMenuStrip.resx">
|
||||||
<DependentUpon>FContextMenuStrip.cs</DependentUpon>
|
<DependentUpon>FContextMenuStrip.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\FLogin.resx">
|
||||||
|
<DependentUpon>FLogin.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Forms\FEdit.resx">
|
<EmbeddedResource Include="Forms\FEdit.resx">
|
||||||
<DependentUpon>FEdit.cs</DependentUpon>
|
<DependentUpon>FEdit.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Forms\FEditor.resx">
|
<EmbeddedResource Include="Forms\FEditor.resx">
|
||||||
<DependentUpon>FEditor.cs</DependentUpon>
|
<DependentUpon>FEditor.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Forms\FLogin.resx">
|
|
||||||
<DependentUpon>FLogin.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Forms\Frames\FAsideHeaderMainFooter.resx">
|
<EmbeddedResource Include="Forms\Frames\FAsideHeaderMainFooter.resx">
|
||||||
<DependentUpon>FAsideHeaderMainFooter.cs</DependentUpon>
|
<DependentUpon>FAsideHeaderMainFooter.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
@ -37,18 +37,13 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
loginImage = value;
|
loginImage = value;
|
||||||
|
|
||||||
if (loginImage == UILoginImage.Login1)
|
if (loginImage == UILoginImage.Login1) BackgroundImage = Resources.Login1;
|
||||||
BackgroundImage = Resources.Login1;
|
if (loginImage == UILoginImage.Login2) BackgroundImage = Resources.Login2;
|
||||||
|
if (loginImage == UILoginImage.Login3) BackgroundImage = Resources.Login3;
|
||||||
if (loginImage == UILoginImage.Login2)
|
if (loginImage == UILoginImage.Login4) BackgroundImage = Resources.Login4;
|
||||||
BackgroundImage = Resources.Login2;
|
if (loginImage == UILoginImage.Login5) BackgroundImage = Resources.Login5;
|
||||||
|
if (loginImage == UILoginImage.Login6) BackgroundImage = Resources.Login6;
|
||||||
if (loginImage == UILoginImage.Login3)
|
}
|
||||||
BackgroundImage = Resources.Login3;
|
|
||||||
|
|
||||||
if (loginImage == UILoginImage.Login4)
|
|
||||||
BackgroundImage = Resources.Login4;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +52,9 @@ namespace Sunny.UI
|
|||||||
Login1,
|
Login1,
|
||||||
Login2,
|
Login2,
|
||||||
Login3,
|
Login3,
|
||||||
Login4
|
Login4,
|
||||||
|
Login5,
|
||||||
|
Login6
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnCancel_Click(object sender, EventArgs e)
|
private void btnCancel_Click(object sender, EventArgs e)
|
||||||
|
20
SunnyUI/Properties/Resources.Designer.cs
generated
20
SunnyUI/Properties/Resources.Designer.cs
generated
@ -150,6 +150,26 @@ namespace Sunny.UI.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap Login5 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("Login5", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap Login6 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("Login6", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -145,6 +145,12 @@
|
|||||||
<data name="Login4" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Login4" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Login4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Login4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Login5" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Login5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="Login6" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Login6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="menu" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="menu" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\menu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\menu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 47 KiB |
BIN
SunnyUI/Resources/Login5.png
Normal file
BIN
SunnyUI/Resources/Login5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
SunnyUI/Resources/Login6.png
Normal file
BIN
SunnyUI/Resources/Login6.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
@ -662,6 +662,15 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\Login4.png" />
|
<None Include="Resources\Login4.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\Login5.png" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\Login6.png" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\Login7.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
+ 增加; - 删除; * 修改
|
+ 增加; - 删除; * 修改
|
||||||
|
|
||||||
|
2020.06.26
|
||||||
|
+ UIDoughnutChart:增加控件:环状图
|
||||||
|
+ UILoginForm:新增两张背景图
|
||||||
|
|
||||||
2020.06.25
|
2020.06.25
|
||||||
+ UIScrollingText:增加控件
|
+ UIScrollingText:增加控件:滚动文字
|
||||||
|
|
||||||
2020.06.24
|
2020.06.24
|
||||||
+ UICheckBoxGroup:增加全选、全不选、反选
|
+ UICheckBoxGroup:增加全选、全不选、反选
|
||||||
|
Loading…
x
Reference in New Issue
Block a user