From 2b31b7e3926134da96d384ab3bdac345691a179c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 10 一月 2025 10:48:45 +0800 Subject: [PATCH] 优化权限 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.Designer.cs | 66 +++++++------------------------- 1 files changed, 15 insertions(+), 51 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 04e63dd..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,18 +33,13 @@ dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); dockMgr = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - sidePanel2 = new SidePanel(); - xhsProjectSimulationFunctionMgrCtrl1 = new XhsProjectSimulationFunctionMgrCtrl(); - sidePanel1 = new SidePanel(); - xhsProjectSimulationSchemeMgrCtrl1 = new XhsProjectSimulationSchemeMgrCtrl(); + simulationFunctionMgrCtrl1 = new SimulationFunctionCtrl(); documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(components); tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(components); ((ISupportInitialize)svgImg32).BeginInit(); ((ISupportInitialize)dockManager1).BeginInit(); dockMgr.SuspendLayout(); dockPanel1_Container.SuspendLayout(); - sidePanel2.SuspendLayout(); - sidePanel1.SuspendLayout(); ((ISupportInitialize)documentManager1).BeginInit(); ((ISupportInitialize)tabbedView1).BeginInit(); SuspendLayout(); @@ -67,54 +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.Text = "鏂规鍒楄〃"; + dockMgr.Options.ShowCloseButton = false; + dockMgr.OriginalSize = new Size(180, 200); + dockMgr.Size = new Size(180, 669); + dockMgr.Text = "椤圭洰妯℃嫙"; // // dockPanel1_Container // - dockPanel1_Container.Controls.Add(sidePanel2); - dockPanel1_Container.Controls.Add(sidePanel1); + 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; - // - // sidePanel2 - // - sidePanel2.Controls.Add(xhsProjectSimulationFunctionMgrCtrl1); - sidePanel2.Dock = DockStyle.Fill; - sidePanel2.Location = new Point(0, 265); - sidePanel2.Name = "sidePanel2"; - sidePanel2.Size = new Size(223, 375); - sidePanel2.TabIndex = 1; - sidePanel2.Text = "sidePanel2"; // // xhsProjectSimulationFunctionMgrCtrl1 // - xhsProjectSimulationFunctionMgrCtrl1.Dock = DockStyle.Fill; - xhsProjectSimulationFunctionMgrCtrl1.Location = new Point(0, 0); - xhsProjectSimulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; - xhsProjectSimulationFunctionMgrCtrl1.Size = new Size(223, 375); - xhsProjectSimulationFunctionMgrCtrl1.TabIndex = 0; - // - // sidePanel1 - // - sidePanel1.Controls.Add(xhsProjectSimulationSchemeMgrCtrl1); - sidePanel1.Dock = DockStyle.Top; - sidePanel1.Location = new Point(0, 0); - sidePanel1.Name = "sidePanel1"; - sidePanel1.Size = new Size(223, 265); - sidePanel1.TabIndex = 0; - sidePanel1.Text = "sidePanel1"; - // - // xhsProjectSimulationSchemeMgrCtrl1 - // - xhsProjectSimulationSchemeMgrCtrl1.Dock = DockStyle.Fill; - xhsProjectSimulationSchemeMgrCtrl1.Location = new Point(0, 0); - xhsProjectSimulationSchemeMgrCtrl1.Name = "xhsProjectSimulationSchemeMgrCtrl1"; - xhsProjectSimulationSchemeMgrCtrl1.Size = new Size(223, 264); - xhsProjectSimulationSchemeMgrCtrl1.TabIndex = 0; + simulationFunctionMgrCtrl1.Dock = DockStyle.Fill; + simulationFunctionMgrCtrl1.Location = new Point(0, 0); + simulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; + simulationFunctionMgrCtrl1.Size = new Size(173, 640); + simulationFunctionMgrCtrl1.TabIndex = 0; // // documentManager1 // @@ -127,6 +94,7 @@ tabbedView1.DocumentDeselected += tabbedView1_DocumentSelected; tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; + tabbedView1.DocumentClosing += tabbedView1_DocumentClosing; tabbedView1.DocumentClosed += tabbedView1_DocumentClosed; // // XhsProjectSimulationMgrPage @@ -136,14 +104,13 @@ 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(); ((ISupportInitialize)dockManager1).EndInit(); dockMgr.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); - sidePanel2.ResumeLayout(false); - sidePanel1.ResumeLayout(false); ((ISupportInitialize)documentManager1).EndInit(); ((ISupportInitialize)tabbedView1).EndInit(); ResumeLayout(false); @@ -155,11 +122,8 @@ private DevExpress.XtraBars.Docking.DockManager dockManager1; private DevExpress.XtraBars.Docking.DockPanel dockMgr; private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; - private SidePanel sidePanel1; - private SidePanel sidePanel2; - private XhsProjectSimulationFunctionMgrCtrl xhsProjectSimulationFunctionMgrCtrl1; - private XhsProjectSimulationSchemeMgrCtrl xhsProjectSimulationSchemeMgrCtrl1; private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1; private DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView tabbedView1; + private SimulationFunctionCtrl simulationFunctionMgrCtrl1; } } \ No newline at end of file -- Gitblit v1.9.3