From 9cdebe64f7ce63aee080491dec6d108466527432 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 19 二月 2025 09:35:40 +0800 Subject: [PATCH] 增加帮助 --- DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs b/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs index db80a33..e682cf2 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs @@ -21,7 +21,10 @@ this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(this.GetType().FullName, gridView1, null, null, "", "", (value) => + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gridView1); + Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); }); @@ -36,7 +39,7 @@ pageBar1.PagerEvent += PageBar1_PagerEvent; } - + /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -152,7 +155,7 @@ /// <param name="e"></param> private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) { - + toolBarMenu1.isSetBtn = false; if (string.IsNullOrEmpty(txt_pageView.Text.Trim())) { @@ -177,9 +180,9 @@ guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 PageView = txt_pageView.Text.Trim(), Path = txt_path.Text.Trim(), - PageGroup=txt_pageGroup.Text.Trim(), - PageIdx=txt_pageIdx.Text.Trim(), - PageStatus=txt_pageStatus.Checked + PageGroup = txt_pageGroup.Text.Trim(), + PageIdx = txt_pageIdx.Text.Trim(), + PageStatus = txt_pageStatus.Checked }; try { -- Gitblit v1.9.3