From 34d47fbe6f79897f79b381eb1f1b4cae89b6fe05 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 14 十月 2024 00:07:42 +0800
Subject: [PATCH] 优化bimface 鼠标左键点击,尝试解决不能选中的问题,不一定解决,待测试

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/01-info/XhsProjectSimulationInfoPage.Designer.cs |  191 ++++++++++++++++++++---------------------------
 1 files changed, 83 insertions(+), 108 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/01-info/XhsProjectSimulationInfoPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/01-info/XhsProjectSimulationInfoPage.Designer.cs
index e6724bd..7860b20 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/01-info/XhsProjectSimulationInfoPage.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/01-info/XhsProjectSimulationInfoPage.Designer.cs
@@ -29,116 +29,93 @@
         private void InitializeComponent()
         {
             components = new Container();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
-            layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
-            xhsProjectSimulationProjectInfoCtrl1 = new XhsProjectSimulationProjectInfoCtrl();
-            xhsProjectSimulationBimfaceInfoCtrl1 = new XhsProjectSimulationBimfaceInfoCtrl();
-            Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
+            DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer widgetDockingContainer1 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer();
+            DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer widgetDockingContainer2 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer();
+            DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer widgetDockingContainer3 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer();
+            DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer widgetDockingContainer4 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer();
+            DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer widgetDockingContainer5 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetDockingContainer();
+            docBimfaceView = new DevExpress.XtraBars.Docking2010.Views.Widget.Document(components);
+            docProjectInfo = new DevExpress.XtraBars.Docking2010.Views.Widget.Document(components);
+            docParterList = new DevExpress.XtraBars.Docking2010.Views.Widget.Document(components);
             svgImg32 = new DevExpress.Utils.SvgImageCollection(components);
-            xhsProjectSimulationHydroInfoCtrl1 = new XhsProjectSimulationHydroInfoCtrl();
-            layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
-            ((ISupportInitialize)layoutControl1).BeginInit();
-            layoutControl1.SuspendLayout();
-            ((ISupportInitialize)Root).BeginInit();
-            ((ISupportInitialize)layoutControlItem2).BeginInit();
-            ((ISupportInitialize)layoutControlItem1).BeginInit();
+            documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(components);
+            widgetView1 = new DevExpress.XtraBars.Docking2010.Views.Widget.WidgetView(components);
+            stackGroup1 = new DevExpress.XtraBars.Docking2010.Views.Widget.StackGroup(components);
+            stackGroup2 = new DevExpress.XtraBars.Docking2010.Views.Widget.StackGroup(components);
+            ((ISupportInitialize)docBimfaceView).BeginInit();
+            ((ISupportInitialize)docProjectInfo).BeginInit();
+            ((ISupportInitialize)docParterList).BeginInit();
             ((ISupportInitialize)svgImg32).BeginInit();
-            ((ISupportInitialize)layoutControlItem3).BeginInit();
+            ((ISupportInitialize)documentManager1).BeginInit();
+            ((ISupportInitialize)widgetView1).BeginInit();
+            ((ISupportInitialize)stackGroup1).BeginInit();
+            ((ISupportInitialize)stackGroup2).BeginInit();
             SuspendLayout();
             // 
-            // layoutControl1
+            // docBimfaceView
             // 
-            layoutControl1.Controls.Add(xhsProjectSimulationHydroInfoCtrl1);
-            layoutControl1.Controls.Add(xhsProjectSimulationProjectInfoCtrl1);
-            layoutControl1.Controls.Add(xhsProjectSimulationBimfaceInfoCtrl1);
-            layoutControl1.Dock = DockStyle.Fill;
-            layoutControl1.Location = new Point(0, 0);
-            layoutControl1.Name = "layoutControl1";
-            layoutControl1.Root = Root;
-            layoutControl1.Size = new Size(951, 587);
-            layoutControl1.TabIndex = 0;
-            layoutControl1.Text = "layoutControl1";
+            docBimfaceView.Caption = "涓夌淮妯″瀷";
+            docBimfaceView.ControlName = "";
+            docBimfaceView.FreeLayoutWidth.UnitValue = 1.2444889779559118D;
+            docBimfaceView.Height = 407;
+            docBimfaceView.Properties.AllowClose = DevExpress.Utils.DefaultBoolean.False;
+            docBimfaceView.Tag = "bimface-info";
+            docBimfaceView.Width = 496;
             // 
-            // xhsProjectSimulationProjectInfoCtrl1
+            // docProjectInfo
             // 
-            xhsProjectSimulationProjectInfoCtrl1.Location = new Point(12, 12);
-            xhsProjectSimulationProjectInfoCtrl1.Name = "xhsProjectSimulationProjectInfoCtrl1";
-            xhsProjectSimulationProjectInfoCtrl1.Size = new Size(461, 279);
-            xhsProjectSimulationProjectInfoCtrl1.TabIndex = 10;
+            docProjectInfo.Caption = "鍩烘湰淇℃伅";
+            docProjectInfo.ControlName = "";
+            docProjectInfo.FreeLayoutHeight.UnitValue = 10.365918750000002D;
+            docProjectInfo.Height = 333;
+            docProjectInfo.Properties.AllowClose = DevExpress.Utils.DefaultBoolean.False;
+            docProjectInfo.Tag = "project-info";
+            docProjectInfo.Width = 496;
             // 
-            // xhsProjectSimulationBimfaceInfoCtrl1
+            // docParterList
             // 
-            xhsProjectSimulationBimfaceInfoCtrl1.Location = new Point(477, 12);
-            xhsProjectSimulationBimfaceInfoCtrl1.Name = "xhsProjectSimulationBimfaceInfoCtrl1";
-            xhsProjectSimulationBimfaceInfoCtrl1.Size = new Size(462, 279);
-            xhsProjectSimulationBimfaceInfoCtrl1.TabIndex = 9;
-            // 
-            // Root
-            // 
-            Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
-            Root.GroupBordersVisible = false;
-            Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem1, layoutControlItem3 });
-            Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
-            Root.Name = "Root";
-            columnDefinition1.SizeType = SizeType.Percent;
-            columnDefinition1.Width = 100D;
-            columnDefinition2.SizeType = SizeType.Percent;
-            columnDefinition2.Width = 100D;
-            Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1, columnDefinition2 });
-            rowDefinition1.Height = 100D;
-            rowDefinition1.SizeType = SizeType.Percent;
-            rowDefinition2.Height = 100D;
-            rowDefinition2.SizeType = SizeType.Percent;
-            Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2 });
-            Root.Size = new Size(951, 587);
-            Root.TextVisible = false;
-            // 
-            // layoutControlItem2
-            // 
-            layoutControlItem2.Control = xhsProjectSimulationBimfaceInfoCtrl1;
-            layoutControlItem2.Location = new Point(465, 0);
-            layoutControlItem2.Name = "layoutControlItem2";
-            layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
-            layoutControlItem2.Size = new Size(466, 283);
-            layoutControlItem2.TextSize = new Size(0, 0);
-            layoutControlItem2.TextVisible = false;
-            // 
-            // layoutControlItem1
-            // 
-            layoutControlItem1.Control = xhsProjectSimulationProjectInfoCtrl1;
-            layoutControlItem1.Location = new Point(0, 0);
-            layoutControlItem1.Name = "layoutControlItem1";
-            layoutControlItem1.Size = new Size(465, 283);
-            layoutControlItem1.TextSize = new Size(0, 0);
-            layoutControlItem1.TextVisible = false;
+            docParterList.Caption = "鏋勪欢鏄庣粏";
+            docParterList.ControlName = "";
+            docParterList.FreeLayoutHeight.UnitValue = 23.34908125D;
+            docParterList.Properties.AllowClose = DevExpress.Utils.DefaultBoolean.False;
+            docParterList.Tag = "parter-list-info";
+            docParterList.Width = 504;
             // 
             // svgImg32
             // 
             svgImg32.ImageSize = new Size(32, 32);
             svgImg32.Add("functionsinformation", "image://svgimages/spreadsheet/functionsinformation.svg");
             // 
-            // xhsProjectSimulationHydroInfoCtrl1
+            // documentManager1
             // 
-            xhsProjectSimulationHydroInfoCtrl1.Location = new Point(12, 295);
-            xhsProjectSimulationHydroInfoCtrl1.Name = "xhsProjectSimulationHydroInfoCtrl1";
-            xhsProjectSimulationHydroInfoCtrl1.Size = new Size(927, 280);
-            xhsProjectSimulationHydroInfoCtrl1.TabIndex = 11;
+            documentManager1.ContainerControl = this;
+            documentManager1.View = widgetView1;
+            documentManager1.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] { widgetView1 });
             // 
-            // layoutControlItem3
+            // widgetView1
             // 
-            layoutControlItem3.Control = xhsProjectSimulationHydroInfoCtrl1;
-            layoutControlItem3.Location = new Point(0, 283);
-            layoutControlItem3.Name = "layoutControlItem3";
-            layoutControlItem3.OptionsTableLayoutItem.ColumnSpan = 2;
-            layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1;
-            layoutControlItem3.Size = new Size(931, 284);
-            layoutControlItem3.TextSize = new Size(0, 0);
-            layoutControlItem3.TextVisible = false;
+            widgetView1.Documents.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseDocument[] { docProjectInfo, docBimfaceView, docParterList });
+            widgetView1.FreeLayoutProperties.FreeLayoutItems.AddRange(new DevExpress.XtraBars.Docking2010.Views.Widget.Document[] { docProjectInfo, docBimfaceView, docParterList });
+            widgetView1.LayoutMode = DevExpress.XtraBars.Docking2010.Views.Widget.LayoutMode.FreeLayout;
+            widgetDockingContainer2.Element = docBimfaceView;
+            widgetDockingContainer4.Element = docProjectInfo;
+            widgetDockingContainer5.Element = docParterList;
+            widgetDockingContainer3.Nodes.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer[] { widgetDockingContainer4, widgetDockingContainer5 });
+            widgetDockingContainer3.Orientation = Orientation.Vertical;
+            widgetDockingContainer3.Size.Width.UnitValue = 0.75551102204408827D;
+            widgetDockingContainer1.Nodes.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer[] { widgetDockingContainer2, widgetDockingContainer3 });
+            widgetView1.RootContainer.Nodes.AddRange(new DevExpress.XtraBars.Docking2010.Views.Tabbed.DockingContainer[] { widgetDockingContainer1 });
+            widgetView1.RootContainer.Orientation = Orientation.Vertical;
+            widgetView1.StackGroups.AddRange(new DevExpress.XtraBars.Docking2010.Views.Widget.StackGroup[] { stackGroup1, stackGroup2 });
+            widgetView1.QueryControl += widgetView1_QueryControl;
+            // 
+            // stackGroup1
+            // 
+            stackGroup1.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.Widget.Document[] { docBimfaceView });
+            // 
+            // stackGroup2
+            // 
+            stackGroup2.Items.AddRange(new DevExpress.XtraBars.Docking2010.Views.Widget.Document[] { docProjectInfo, docParterList });
             // 
             // XhsProjectSimulationInfoPage
             // 
@@ -146,30 +123,28 @@
             Appearance.Options.UseBackColor = true;
             AutoScaleDimensions = new SizeF(7F, 14F);
             AutoScaleMode = AutoScaleMode.Font;
-            Controls.Add(layoutControl1);
             Margin = new Padding(2);
             Name = "XhsProjectSimulationInfoPage";
             Size = new Size(951, 587);
-            ((ISupportInitialize)layoutControl1).EndInit();
-            layoutControl1.ResumeLayout(false);
-            ((ISupportInitialize)Root).EndInit();
-            ((ISupportInitialize)layoutControlItem2).EndInit();
-            ((ISupportInitialize)layoutControlItem1).EndInit();
+            ((ISupportInitialize)docBimfaceView).EndInit();
+            ((ISupportInitialize)docProjectInfo).EndInit();
+            ((ISupportInitialize)docParterList).EndInit();
             ((ISupportInitialize)svgImg32).EndInit();
-            ((ISupportInitialize)layoutControlItem3).EndInit();
+            ((ISupportInitialize)documentManager1).EndInit();
+            ((ISupportInitialize)widgetView1).EndInit();
+            ((ISupportInitialize)stackGroup1).EndInit();
+            ((ISupportInitialize)stackGroup2).EndInit();
             ResumeLayout(false);
         }
 
         #endregion
-
-        private DevExpress.XtraLayout.LayoutControl layoutControl1;
-        private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private XhsProjectSimulationProjectInfoCtrl xhsProjectSimulationProjectInfoCtrl1;
-        private XhsProjectSimulationBimfaceInfoCtrl xhsProjectSimulationBimfaceInfoCtrl1;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
         private DevExpress.Utils.SvgImageCollection svgImg32;
-        private XhsProjectSimulationHydroInfoCtrl xhsProjectSimulationHydroInfoCtrl1;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.WidgetView widgetView1;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.Document docProjectInfo;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.Document docBimfaceView;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.Document docParterList;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.StackGroup stackGroup1;
+        private DevExpress.XtraBars.Docking2010.Views.Widget.StackGroup stackGroup2;
     }
 }

--
Gitblit v1.9.3