From d1f40573d3db85e55f22e9e706e9f55c581c9b49 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 12 八月 2024 15:40:03 +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..42d2191 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[1]; + 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