From c26069c9418efe9f9c0f963f43fb98b8a7440adf Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 01 三月 2025 10:10:25 +0800
Subject: [PATCH] 销售

---
 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index d1506cd..00da511 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -9,11 +9,9 @@
 using System.Windows.Forms;
 using DevExpress.XtraBars;
 using DevExpress.XtraEditors;
-using DevExpress.XtraEditors.TextEditController;
 using DevExpress.XtraGrid;
 using DevExpress.XtraGrid.Views.Grid;
 using DevExpress.XtraLayout;
-using Gs.DevApp.DevFrm.QC.Models;
 using Gs.DevApp.DevFrm.Rpt;
 using Gs.DevApp.DevFrm.Sys;
 using Gs.DevApp.Entity;
@@ -1142,8 +1140,6 @@
                     }
                     foreach (GridView gv in gvList)
                     {
-                       
-
                         JToken john = array.FirstOrDefault(t => t["controlId"].ToString().ToUpper() == gv.Name.ToString().Trim().ToUpper());
                         if (john != null)
                         {
@@ -1177,11 +1173,17 @@
                         {
                             string controlId = john["controlId"].ToString();
                             string controlXml = john["controlXml"].ToString();
+                           // string splitterPosition = john["splitterPosition"].ToString();
                             byte[] byteArray = Encoding.UTF8.GetBytes(controlXml);
                             using (var stream = new MemoryStream(byteArray))
                             {
                                 spt.RestoreLayoutFromStream(stream);
                             }
+                            spt.Horizontal = false;
+                            spt.Panel1.AutoScroll = false;
+                            spt.Panel2.AutoScroll = false;
+                            spt.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
+                            //   spt.SplitterPosition = int.Parse( splitterPosition);
                         }
                     }
                 }

--
Gitblit v1.9.3