From 8e1523be1951458d436c9eb0686cd0f6dbf4e167 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 18 十月 2024 17:55:16 +0800 Subject: [PATCH] 基础模块增加排序功能 --- WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.cs index cef43e7..d979cdb 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.cs @@ -10,11 +10,12 @@ InitializeComponent(); } - public async void SetBindingData(long TypeId, long vmId) + public async void SetBindingData(long TypeId, long vmId, long currentParentId) { var alllist = await new Yw.BLL.SysCatalog().GetByTypeID(TypeId); alllist.Remove(alllist.Find(x => x.ID == vmId)); treeListLookUpEdit1TreeList.DataSource = alllist; + this.ComboBoxEditParentsChoice.EditValue = currentParentId; } public event Func<long, Task<bool>> ReloadEvent; @@ -41,5 +42,10 @@ this.Close(); } } + + private void simpleLabelItemDelete_Click(object sender, EventArgs e) + { + this.ComboBoxEditParentsChoice.EditValue = null; + } } } \ No newline at end of file -- Gitblit v1.9.3