From f34b7d74e30f1c902d87e0cae6bd02a02d991492 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 23 十二月 2024 21:32:29 +0800
Subject: [PATCH] 属性控件bug修复

---
 WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.Designer.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.Designer.cs
index 2cce1ae..c6c410b 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.Designer.cs
@@ -51,6 +51,7 @@
             svgImage32 = new DevExpress.Utils.SvgImageCollection(components);
             sidePanel1 = new DevExpress.XtraEditors.SidePanel();
             behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components);
+            dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components);
             ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit();
             ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit();
             dockPanel1.SuspendLayout();
@@ -189,6 +190,7 @@
             // 
             gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
             gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) });
             gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
             gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription });
             gridView1.GridControl = gridControl1;
@@ -231,6 +233,10 @@
             sidePanel1.Size = new Size(933, 547);
             sidePanel1.TabIndex = 8;
             sidePanel1.Text = "sidePanel1";
+            // 
+            // dragDropEvents1
+            // 
+            dragDropEvents1.DragDrop += dragDropEvents1_DragDrop;
             // 
             // SysFlagManageMainPanel
             // 
@@ -279,5 +285,6 @@
         private BindingSource sysFlagViewModelBindingSource;
         private DevExpress.XtraGrid.Columns.GridColumn colName;
         private DevExpress.XtraGrid.Columns.GridColumn colDescription;
+        private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1;
     }
 }

--
Gitblit v1.9.3