From 3b03ac9340fb8153fbb99c8e00702494192c00b6 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 27 九月 2024 11:44:43 +0800 Subject: [PATCH] 修改匹配显示状态 --- WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropManageMainPanel.cs | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropManageMainPanel.cs b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropManageMainPanel.cs index aefa244..ded71f8 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropManageMainPanel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropManageMainPanel.cs @@ -7,6 +7,9 @@ InitializeComponent(); this.gridView1.SetNormalView(); this.gridView1.RegistCustomDrawRowIndicator(); + this.PageTitle.Caption = "灞炴�х鐞�"; + this.PageTitle.HeaderSvgImage = this.svgImage32[0]; + this.PageTitle.SvgImageSize = new Size(24, 24); this.propGroupTreeListCtrl1.FocusedChangedEvent += ModuleTreeListCtrl1_FocusedChangedEvent; } @@ -33,7 +36,7 @@ this.propViewModelBindingSource.ResetBindings(false); } - private async void SetBindingData() + private void SetBindingData() { _bll = new Yw.BLL.SysProp(); } @@ -111,5 +114,21 @@ return; } } + + //灞炴�ч�夐」 + private void gridView1_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e) + { + if (_allBindingList == null || _allBindingList.Count < 1) + return; + var row = this.gridView1.GetCurrentViewModel(_allBindingList); + if (row == null) + return; + if (e.Column == this.ColPropEdit) + { + var dlg = new SetSysPropChoiceDlg(); + dlg.SetBindingData(row.ID); + dlg.ShowDialog(); + } + } } } \ No newline at end of file -- Gitblit v1.9.3