From db99fcbc8ce2de42ed4c9f06a3df6b23fc07e9b4 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 27 十一月 2024 19:16:25 +0800 Subject: [PATCH] 工单 --- DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs index 1d34667..f1f3fb0 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs @@ -6,7 +6,6 @@ using DevExpress.XtraEditors; using DevExpress.XtraEditors.Controls; using DevExpress.XtraGrid.Views.Grid; -using FastReport.Dialog; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Gs.DevApp.UserControl; @@ -33,12 +32,15 @@ toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; gcMain.MouseDoubleClick += GcMain_MouseDoubleClick; + gridView1.FocusedRowChanged += (s, e) => + { + UtilityHelper.SetCheckIco(s, picCheckBox, this, "checkStatus",""); + }; gridView1.CustomDrawRowIndicator += GridView1_CustomDrawRowIndicator; getPageList(1, UtilityHelper.GetPageSize()); pageBar1.PagerEvent += PageBar1_PagerEvent; } - private void GridView1_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e) @@ -148,7 +150,7 @@ } getModel(rowGuid, true, 1); - + } /// <summary> /// 鍒犻櫎浜嬩欢 @@ -159,7 +161,7 @@ { string rowGuid, rowName; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, - lbGuid, txt_name, gridView1); + lbGuid, txt_name, gridView1, "name"); if (string.IsNullOrEmpty(rowGuid)) { MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); -- Gitblit v1.9.3