From 907a1579fecf2c160852cf99b3ea77c08eb481cc Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期二, 17 十二月 2024 09:44:04 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/22-cooling/03-factor/AssetsCoolingFactorMgrPage.Designer.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/22-cooling/03-factor/AssetsCoolingFactorMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/22-cooling/03-factor/AssetsCoolingFactorMgrPage.Designer.cs index 292d77a..b7e7712 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/22-cooling/03-factor/AssetsCoolingFactorMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/22-cooling/03-factor/AssetsCoolingFactorMgrPage.Designer.cs @@ -64,6 +64,8 @@ colDetail = new DevExpress.XtraGrid.Columns.GridColumn(); repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); svgImg32 = new DevExpress.Utils.SvgImageCollection(components); + behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); + dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); ((ISupportInitialize)ribbonControl1).BeginInit(); ((ISupportInitialize)panelControl1).BeginInit(); panelControl1.SuspendLayout(); @@ -72,6 +74,7 @@ ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((ISupportInitialize)svgImg32).BeginInit(); + ((ISupportInitialize)behaviorManager1).BeginInit(); SuspendLayout(); // // ribbonControl1 @@ -163,6 +166,7 @@ barCkDrag.Id = 17; barCkDrag.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCkDrag.ImageOptions.SvgImage"); barCkDrag.Name = "barCkDrag"; + barCkDrag.CheckedChanged += barCkDrag_CheckedChanged; // // ribbonPage1 // @@ -224,6 +228,7 @@ // // gridView1 // + behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colMaterial, colCaliber, colCoefficient, colLowerLimit, colSortCode, colDescription, colDetail }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; @@ -329,6 +334,10 @@ svgImg32.ImageSize = new Size(32, 32); svgImg32.Add("top10percent", "image://svgimages/spreadsheet/top10percent.svg"); // + // dragDropEvents1 + // + dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; + // // AssetsCoolingFactorMgrPage // Appearance.BackColor = SystemColors.Control; @@ -348,6 +357,7 @@ ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((ISupportInitialize)svgImg32).EndInit(); + ((ISupportInitialize)behaviorManager1).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -383,5 +393,7 @@ private DevExpress.XtraGrid.Columns.GridColumn colDetail; private DevExpress.XtraBars.BarCheckItem barCkDrag; private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; + private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1; + private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; } } -- Gitblit v1.9.3