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 | 35 +++++++++++++++++------------------ 1 files changed, 17 insertions(+), 18 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 8a54878..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,7 +33,7 @@ dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); dockMgr = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - xhsProjectSimulationFunctionMgrCtrl1 = new XhsProjectSimulationFunctionMgrCtrl(); + simulationFunctionMgrCtrl1 = new SimulationFunctionCtrl(); documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(components); tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(components); ((ISupportInitialize)svgImg32).BeginInit(); @@ -61,29 +61,27 @@ dockMgr.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; dockMgr.ID = new Guid("0770f1b3-876e-49a8-91d8-f72117b01187"); dockMgr.Location = new Point(0, 0); - dockMgr.Margin = new Padding(4, 5, 4, 5); dockMgr.Name = "dockMgr"; - dockMgr.OriginalSize = new Size(230, 200); - dockMgr.Size = new Size(230, 1051); + 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.Location = new Point(4, 38); - dockPanel1_Container.Margin = new Padding(4, 5, 4, 5); + dockPanel1_Container.Controls.Add(simulationFunctionMgrCtrl1); + dockPanel1_Container.Location = new Point(3, 26); dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(219, 1009); + dockPanel1_Container.Size = new Size(173, 640); dockPanel1_Container.TabIndex = 0; // // xhsProjectSimulationFunctionMgrCtrl1 // - xhsProjectSimulationFunctionMgrCtrl1.Dock = DockStyle.Fill; - xhsProjectSimulationFunctionMgrCtrl1.Location = new Point(0, 0); - xhsProjectSimulationFunctionMgrCtrl1.Margin = new Padding(6, 8, 6, 8); - xhsProjectSimulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; - xhsProjectSimulationFunctionMgrCtrl1.Size = new Size(219, 1009); - xhsProjectSimulationFunctionMgrCtrl1.TabIndex = 1; + simulationFunctionMgrCtrl1.Dock = DockStyle.Fill; + simulationFunctionMgrCtrl1.Location = new Point(0, 0); + simulationFunctionMgrCtrl1.Name = "xhsProjectSimulationFunctionMgrCtrl1"; + simulationFunctionMgrCtrl1.Size = new Size(173, 640); + simulationFunctionMgrCtrl1.TabIndex = 0; // // documentManager1 // @@ -96,18 +94,19 @@ tabbedView1.DocumentDeselected += tabbedView1_DocumentSelected; tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; + tabbedView1.DocumentClosing += tabbedView1_DocumentClosing; tabbedView1.DocumentClosed += tabbedView1_DocumentClosed; // // XhsProjectSimulationMgrPage // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; - AutoScaleDimensions = new SizeF(10F, 22F); + AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(dockMgr); - Margin = new Padding(6, 8, 6, 8); + Margin = new Padding(4, 5, 4, 5); Name = "XhsProjectSimulationMgrPage"; - Size = new Size(1507, 1051); + Size = new Size(1055, 669); ((ISupportInitialize)svgImg32).EndInit(); ((ISupportInitialize)dockManager1).EndInit(); dockMgr.ResumeLayout(false); @@ -125,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