升级1.7.8,Table支持行禁用

This commit is contained in:
czz_y 2024-11-28 14:30:40 +08:00
parent d35cdd2dfe
commit 45e34eec10
5 changed files with 8 additions and 3 deletions

View File

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

View File

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

View File

@ -83,7 +83,9 @@
this.table_base.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.table_base.Gap = 8;
this.table_base.Location = new System.Drawing.Point(3, 103);
this.table_base.MultipleRows = true;
this.table_base.Name = "table_base";
this.table_base.SelectedIndexs = new int[0];
this.table_base.ShowTip = false;
this.table_base.Size = new System.Drawing.Size(744, 417);
this.table_base.TabIndex = 30;

View File

@ -390,6 +390,9 @@ namespace AntdUIDemo.Views
antList[1].Users = subUsers.ToArray();
table_base.Binding(antList);
//设置行禁用
table_base.SetRowEnable(0, false,true);
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

After

Width:  |  Height:  |  Size: 431 KiB