升级1.7.8,Table支持行禁用
This commit is contained in:
parent
d35cdd2dfe
commit
45e34eec10
@ -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.7.6</Version>
|
<Version>1.7.8</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.7.6" />
|
<PackageReference Include="AntdUI" Version="1.7.8" />
|
||||||
<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>
|
||||||
|
|||||||
@ -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.7.6`
|
本项目基于 `Winform .NET Framework 4.8` 开发,是 [AntdUI](https://gitee.com/antdui/AntdUI) 的 Demo 项目,当前版本 `1.7.8`
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
2
Views/TableDemo.Designer.cs
generated
2
Views/TableDemo.Designer.cs
generated
@ -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.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.Gap = 8;
|
||||||
this.table_base.Location = new System.Drawing.Point(3, 103);
|
this.table_base.Location = new System.Drawing.Point(3, 103);
|
||||||
|
this.table_base.MultipleRows = true;
|
||||||
this.table_base.Name = "table_base";
|
this.table_base.Name = "table_base";
|
||||||
|
this.table_base.SelectedIndexs = new int[0];
|
||||||
this.table_base.ShowTip = false;
|
this.table_base.ShowTip = false;
|
||||||
this.table_base.Size = new System.Drawing.Size(744, 417);
|
this.table_base.Size = new System.Drawing.Size(744, 417);
|
||||||
this.table_base.TabIndex = 30;
|
this.table_base.TabIndex = 30;
|
||||||
|
|||||||
@ -390,6 +390,9 @@ namespace AntdUIDemo.Views
|
|||||||
|
|
||||||
antList[1].Users = subUsers.ToArray();
|
antList[1].Users = subUsers.ToArray();
|
||||||
table_base.Binding(antList);
|
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 |
Loading…
x
Reference in New Issue
Block a user