调整UILoginForm背景图大小,不缩放显示

This commit is contained in:
Sunny 2020-06-20 23:12:40 +08:00
parent 91b8bead39
commit e1831b69d6
7 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -34,6 +34,7 @@
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>SunnyUI.ico</ApplicationIcon> <ApplicationIcon>SunnyUI.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<PropertyGroup />
<ItemGroup> <ItemGroup>
<Reference Include="SunnyUI, Version=2.2.5.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="SunnyUI, Version=2.2.5.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>

View File

@ -167,7 +167,6 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F); this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = global::Sunny.UI.Properties.Resources.Login1; this.BackgroundImage = global::Sunny.UI.Properties.Resources.Login1;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(750, 450); this.ClientSize = new System.Drawing.Size(750, 450);
this.Controls.Add(this.uiLabel1); this.Controls.Add(this.uiLabel1);
this.Controls.Add(this.lblSubText); this.Controls.Add(this.lblSubText);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

After

Width:  |  Height:  |  Size: 278 KiB