From b084bd77d01a94c8f0a2d20c86a1f45ba7c8a23c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 19 四月 2025 14:08:05 +0800 Subject: [PATCH] 页面跳转 --- DevApp/Gs.DevApp/UserControl/SelectCw.cs | 23 ++++++----------------- 1 files changed, 6 insertions(+), 17 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCw.cs b/DevApp/Gs.DevApp/UserControl/SelectCw.cs index d1a369e..cc86f59 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCw.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCw.cs @@ -1,17 +1,9 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Data; -using System.Threading.Tasks; -using System.Windows.Forms; -using DevExpress.XtraEditors; -using DevExpress.XtraEditors.Controls; -using DevExpress.XtraGrid.Views.Grid; -using Gs.DevApp.Entity; -using Gs.DevApp.ToolBox; -using Gs.DevApp.UserControl; -using MES.Service.Modes; +锘縰sing Gs.DevApp.ToolBox; using Newtonsoft.Json; using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; namespace Gs.DevApp.UserControl { @@ -23,11 +15,8 @@ { _strGuid = strGuid; InitializeComponent(); - 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); getPageList(1); - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false); } /// <summary> /// 鏌ヨ浜嬩欢 @@ -75,7 +64,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); - gridView1.BestFitColumns(); + gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); } else { -- Gitblit v1.9.3