diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj index f2087ce..2dc5cfb 100644 --- a/AntdUIDemo.csproj +++ b/AntdUIDemo.csproj @@ -13,7 +13,7 @@ Copyright © 2024 czz_y $(Version) $(Version) - 1.7.6 + 1.7.8 czz_y 基于 Winform UI 框架 AntdUI 设计的 Demo https://gitee.com/mubaiyanghua/antd-uidemo @@ -30,7 +30,7 @@ - + diff --git a/README.md b/README.md index 8ea04c8..3b560c1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

AntdUI Demo

-本项目基于 `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` diff --git a/Views/TableDemo.Designer.cs b/Views/TableDemo.Designer.cs index d40323f..56c55de 100644 --- a/Views/TableDemo.Designer.cs +++ b/Views/TableDemo.Designer.cs @@ -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; diff --git a/Views/TableDemo.cs b/Views/TableDemo.cs index 3c76775..99a6bb5 100644 --- a/Views/TableDemo.cs +++ b/Views/TableDemo.cs @@ -390,6 +390,9 @@ namespace AntdUIDemo.Views antList[1].Users = subUsers.ToArray(); table_base.Binding(antList); + + //设置行禁用 + table_base.SetRowEnable(0, false,true); } } } diff --git a/assets/screenshots/Table.png b/assets/screenshots/Table.png index ade0084..7dfcb02 100644 Binary files a/assets/screenshots/Table.png and b/assets/screenshots/Table.png differ