拆分按钮样式

This commit is contained in:
wule committed 2026-06-15 20:48:52 +08:00
1 parent d03a1e1466
commit 167885814e
37 files changed
+1009 -219

No files matched your search

+4 -2
View File
@@ -29,7 +29,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -46,7 +46,7 @@
<OutputPath>..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -245,6 +245,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\29wx.ico" />
<Content Include="Resources\BaseMsgErr.png" />
<Content Include="Resources\BaseMsgInfo.png" />
<Content Include="Resources\BaseMsgQue.png" />
@@ -262,6 +263,7 @@
<Content Include="Resources\min.png" />
<Content Include="Resources\normal.hover.png" />
<Content Include="Resources\normal.png" />
<Content Include="Resources\weixin_icon.png" />
<Content Include="Resources\x-2.0.png" />
<Content Include="Resources\x-2.1.png" />
<Content Include="Resources\x-3.0.png" />
+3 -4
View File
@@ -44,7 +44,7 @@ namespace Work.BaseForms
((System.ComponentModel.ISupportInitialize)(this.pbCloseBase)).BeginInit();
this.SuspendLayout();
//
// panel2
// pnlTitle
//
this.pnlTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(160)))), ((int)(((byte)(233)))));
this.pnlTitle.Controls.Add(this.pbMinBase);
@@ -55,7 +55,7 @@ namespace Work.BaseForms
this.pnlTitle.Controls.Add(this.pbCloseBase);
this.pnlTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlTitle.Location = new System.Drawing.Point(0, 0);
this.pnlTitle.Name = "panel2";
this.pnlTitle.Name = "pnlTitle";
this.pnlTitle.Size = new System.Drawing.Size(386, 32);
this.pnlTitle.TabIndex = 2;
this.pnlTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseDown);
@@ -108,7 +108,7 @@ namespace Work.BaseForms
// pictureBox3
//
this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
this.pictureBox3.Image = global::Work.Properties.Resources.icon;
this.pictureBox3.Image = global::Work.Properties.Resources.weixin_icon;
this.pictureBox3.Location = new System.Drawing.Point(5, 3);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(23, 23);
@@ -151,7 +151,6 @@ namespace Work.BaseForms
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "BaseGeneralForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "BaseForm";
this.Load += new System.EventHandler(this.LcBaseForm_Load);
this.pnlTitle.ResumeLayout(false);
this.pnlTitle.PerformLayout();
+3 -3
View File
@@ -72,10 +72,10 @@ namespace Work.BaseForms
{
if (BaseClass.Ico != null)
Iconx = Icon = BaseClass.Ico;
else
Iconx = Icon = BaseClass.Ico = ImageBuild.ConvertToIcon(Properties.Resources.icon);
//else
// Iconx = Icon = BaseClass.Ico = ImageBuild.ConvertToIcon(Properties.Resources.icon);
if (this.IsShowMax)
{
if (this.WindowState == FormWindowState.Maximized)
+20
View File
@@ -60,6 +60,16 @@ namespace Work.Properties {
}
}
/// <summary>
/// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
/// </summary>
internal static System.Drawing.Icon _29wx {
get {
object obj = ResourceManager.GetObject("_29wx", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
@@ -210,6 +220,16 @@ namespace Work.Properties {
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap weixin_icon {
get {
object obj = ResourceManager.GetObject("weixin_icon", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
+6
View File
@@ -193,4 +193,10 @@
<data name="errpic" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\errpic.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="_29wx" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\29wx.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="weixin_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\weixin_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB