升级1.6.13,SelectMultiple新增复选框显示

This commit is contained in:
czz_y 2024-10-22 15:46:51 +08:00
parent 352078c6a2
commit c3cf8bc2e3
4 changed files with 53 additions and 5 deletions

View File

@ -13,7 +13,7 @@
<Copyright>Copyright © 2024 czz_y</Copyright> <Copyright>Copyright © 2024 czz_y</Copyright>
<FileVersion>$(Version)</FileVersion> <FileVersion>$(Version)</FileVersion>
<AssemblyVersion>$(Version)</AssemblyVersion> <AssemblyVersion>$(Version)</AssemblyVersion>
<Version>1.6.12</Version> <Version>1.6.13</Version>
<Authors>czz_y</Authors> <Authors>czz_y</Authors>
<Description>基于 Winform UI 框架 AntdUI 设计的 Demo</Description> <Description>基于 Winform UI 框架 AntdUI 设计的 Demo</Description>
<PackageProjectUrl>https://gitee.com/mubaiyanghua/antd-uidemo</PackageProjectUrl> <PackageProjectUrl>https://gitee.com/mubaiyanghua/antd-uidemo</PackageProjectUrl>
@ -30,7 +30,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="AntdUI" Version="1.6.12" /> <PackageReference Include="AntdUI" Version="1.6.13" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="5.3.3" /> <PackageReference Include="NLog" Version="5.3.3" />
</ItemGroup> </ItemGroup>

View File

@ -4,7 +4,7 @@
<h1>AntdUI Demo</h1> <h1>AntdUI Demo</h1>
本项目基于 `Winform .NET Framework 4.8` 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目,当前版本 `1.6.12` 本项目基于 `Winform .NET Framework 4.8` 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目,当前版本 `1.6.13`
</div> </div>

View File

@ -64,6 +64,9 @@
this.divider1 = new AntdUI.Divider(); this.divider1 = new AntdUI.Divider();
this.label2 = new AntdUI.Label(); this.label2 = new AntdUI.Label();
this.label1 = new AntdUI.Label(); this.label1 = new AntdUI.Label();
this.label8 = new AntdUI.Label();
this.flowPanel7 = new AntdUI.FlowPanel();
this.selectMultiple19 = new AntdUI.SelectMultiple();
this.stackPanel1.SuspendLayout(); this.stackPanel1.SuspendLayout();
this.flowPanel6.SuspendLayout(); this.flowPanel6.SuspendLayout();
this.flowPanel5.SuspendLayout(); this.flowPanel5.SuspendLayout();
@ -71,10 +74,13 @@
this.flowPanel3.SuspendLayout(); this.flowPanel3.SuspendLayout();
this.flowPanel2.SuspendLayout(); this.flowPanel2.SuspendLayout();
this.flowPanel1.SuspendLayout(); this.flowPanel1.SuspendLayout();
this.flowPanel7.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// stackPanel1 // stackPanel1
// //
this.stackPanel1.Controls.Add(this.flowPanel7);
this.stackPanel1.Controls.Add(this.label8);
this.stackPanel1.Controls.Add(this.flowPanel6); this.stackPanel1.Controls.Add(this.flowPanel6);
this.stackPanel1.Controls.Add(this.label7); this.stackPanel1.Controls.Add(this.label7);
this.stackPanel1.Controls.Add(this.flowPanel5); this.stackPanel1.Controls.Add(this.flowPanel5);
@ -92,7 +98,7 @@
this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.stackPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.stackPanel1.Location = new System.Drawing.Point(0, 0); this.stackPanel1.Location = new System.Drawing.Point(0, 0);
this.stackPanel1.Name = "stackPanel1"; this.stackPanel1.Name = "stackPanel1";
this.stackPanel1.Size = new System.Drawing.Size(700, 550); this.stackPanel1.Size = new System.Drawing.Size(700, 580);
this.stackPanel1.TabIndex = 0; this.stackPanel1.TabIndex = 0;
this.stackPanel1.Text = "stackPanel1"; this.stackPanel1.Text = "stackPanel1";
this.stackPanel1.Vertical = true; this.stackPanel1.Vertical = true;
@ -609,12 +615,50 @@
this.label1.TabIndex = 11; this.label1.TabIndex = 11;
this.label1.Text = "SelectMultiple 多选选择器"; this.label1.Text = "SelectMultiple 多选选择器";
// //
// label8
//
this.label8.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(3, 511);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(694, 24);
this.label8.TabIndex = 30;
this.label8.Text = "复选框";
//
// flowPanel7
//
this.flowPanel7.Controls.Add(this.selectMultiple19);
this.flowPanel7.Gap = 6;
this.flowPanel7.Location = new System.Drawing.Point(3, 541);
this.flowPanel7.Name = "flowPanel7";
this.flowPanel7.Size = new System.Drawing.Size(694, 38);
this.flowPanel7.TabIndex = 31;
this.flowPanel7.Text = "flowPanel7";
//
// selectMultiple19
//
this.selectMultiple19.AllowClear = true;
this.selectMultiple19.CheckMode = true;
this.selectMultiple19.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
this.selectMultiple19.Items.AddRange(new object[] {
"Jack",
"Lucy",
"SelectMultiple",
"Tom",
"Jerry"});
this.selectMultiple19.Location = new System.Drawing.Point(3, 3);
this.selectMultiple19.Name = "selectMultiple19";
this.selectMultiple19.Placement = AntdUI.TAlignFrom.TL;
this.selectMultiple19.SelectedValue = new object[0];
this.selectMultiple19.Size = new System.Drawing.Size(200, 32);
this.selectMultiple19.TabIndex = 1;
this.selectMultiple19.WaveSize = 0;
//
// SelectMultipleDemo // SelectMultipleDemo
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.stackPanel1); this.Controls.Add(this.stackPanel1);
this.Name = "SelectMultipleDemo"; this.Name = "SelectMultipleDemo";
this.Size = new System.Drawing.Size(700, 550); this.Size = new System.Drawing.Size(700, 580);
this.stackPanel1.ResumeLayout(false); this.stackPanel1.ResumeLayout(false);
this.flowPanel6.ResumeLayout(false); this.flowPanel6.ResumeLayout(false);
this.flowPanel5.ResumeLayout(false); this.flowPanel5.ResumeLayout(false);
@ -622,6 +666,7 @@
this.flowPanel3.ResumeLayout(false); this.flowPanel3.ResumeLayout(false);
this.flowPanel2.ResumeLayout(false); this.flowPanel2.ResumeLayout(false);
this.flowPanel1.ResumeLayout(false); this.flowPanel1.ResumeLayout(false);
this.flowPanel7.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@ -663,5 +708,8 @@
private AntdUI.SelectMultiple selectMultiple20; private AntdUI.SelectMultiple selectMultiple20;
private AntdUI.Label label7; private AntdUI.Label label7;
private AntdUI.SelectMultiple selectMultiple18; private AntdUI.SelectMultiple selectMultiple18;
private AntdUI.FlowPanel flowPanel7;
private AntdUI.SelectMultiple selectMultiple19;
private AntdUI.Label label8;
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

After

Width:  |  Height:  |  Size: 357 KiB