From ef716332fef142a02843b5a99e8e3e92ab165738 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 24 十二月 2024 11:35:24 +0800 Subject: [PATCH] 修改单独匹配界面线程问题 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs index 9e09cf6..8901f2e 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs @@ -33,9 +33,9 @@ dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); dockMgr = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + simulationFunctionMgrCtrl1 = new SimulationFunctionCtrl(); documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(components); tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(components); - xhsProjectSimulationFunctionMgrCtrl1 = new XhsProjectSimulationFunctionMgrCtrl(); ((ISupportInitialize)svgImg32).BeginInit(); ((ISupportInitialize)dockManager1).BeginInit(); dockMgr.SuspendLayout(); @@ -62,17 +62,26 @@ dockMgr.ID = new Guid("0770f1b3-876e-49a8-91d8-f72117b01187"); dockMgr.Location = new Point(0, 0); dockMgr.Name = "dockMgr"; - dockMgr.OriginalSize = new Size(230, 200); - dockMgr.Size = new Size(230, 669); + dockMgr.Options.ShowCloseButton = false; + dockMgr.OriginalSize = new Size(180, 200); + dockMgr.Size = new Size(180, 669); dockMgr.Text = "椤圭洰妯℃嫙"; // // dockPanel1_Container // - dockPanel1_Container.Controls.Add(xhsProjectSimulationFunctionMgrCtrl1); + dockPanel1_Container.Controls.Add(simulationFunctionMgrCtrl1); dockPanel1_Container.Location = new Point(3, 26); dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(223, 640); + dockPanel1_Container.Size = new Size(173, 640); dockPanel1_Container.TabIndex = 0; + // + // xhsProjectSimulationFunctionMgrCtrl1 + // + simulationFunctionMgrCtrl1.Dock = DockStyle.Fill; + simulationFunctionMgrCtrl1.Location = new Point(0, 0); + simulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; + simulationFunctionMgrCtrl1.Size = new Size(173, 640); + simulationFunctionMgrCtrl1.TabIndex = 0; // // documentManager1 // @@ -85,15 +94,8 @@ tabbedView1.DocumentDeselected += tabbedView1_DocumentSelected; tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; + tabbedView1.DocumentClosing += tabbedView1_DocumentClosing; tabbedView1.DocumentClosed += tabbedView1_DocumentClosed; - // - // xhsProjectSimulationFunctionMgrCtrl1 - // - xhsProjectSimulationFunctionMgrCtrl1.Dock = DockStyle.Fill; - xhsProjectSimulationFunctionMgrCtrl1.Location = new Point(0, 0); - xhsProjectSimulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; - xhsProjectSimulationFunctionMgrCtrl1.Size = new Size(223, 640); - xhsProjectSimulationFunctionMgrCtrl1.TabIndex = 1; // // XhsProjectSimulationMgrPage // @@ -102,6 +104,7 @@ AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(dockMgr); + Margin = new Padding(4, 5, 4, 5); Name = "XhsProjectSimulationMgrPage"; Size = new Size(1055, 669); ((ISupportInitialize)svgImg32).EndInit(); @@ -121,6 +124,6 @@ private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1; private DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView tabbedView1; - private XhsProjectSimulationFunctionMgrCtrl xhsProjectSimulationFunctionMgrCtrl1; + private SimulationFunctionCtrl simulationFunctionMgrCtrl1; } } \ No newline at end of file -- Gitblit v1.9.3