From 28e1c9f3b620567acced4730cc36368090a6abe5 Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期六, 15 六月 2024 12:56:50 +0800 Subject: [PATCH] feat:添加右上角视角辅助栏 --- Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs index 709f0c0..9eeb3ad 100644 --- a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs +++ b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs @@ -239,6 +239,7 @@ this.鍙嶉�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timer_draw = new System.Windows.Forms.Timer(this.components); this.map = new Hydro.MapUI.DMap(); + this.CubeView = new Hydro.MapUI.DMap(); this.statusStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); @@ -1604,13 +1605,25 @@ this.map._newTemplate = null; this.map.Dock = System.Windows.Forms.DockStyle.Fill; this.map.Location = new System.Drawing.Point(0, 24); - this.map.mapOption = ((Hydro.MapView.MapDimensions)(resources.GetObject("map.mapOption"))); + this.map.mapOption = null; this.map.Name = "map"; this.map.Size = new System.Drawing.Size(1051, 554); this.map.TabIndex = 8; // + // CubeView + // + this.CubeView._newTemplate = null; + this.CubeView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.CubeView.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; + this.CubeView.Location = new System.Drawing.Point(927, 26); + this.CubeView.mapOption = null; + this.CubeView.Name = "CubeView"; + this.CubeView.Size = new System.Drawing.Size(120, 120); + this.CubeView.TabIndex = 0; + // // MapViewer // + this.Controls.Add(this.CubeView); this.Controls.Add(this.map); this.Controls.Add(this.panel1); this.Controls.Add(this.statusStrip1); @@ -1826,5 +1839,6 @@ private DMap map; private ToolStripMenuItem 璁$畻灞�閮ㄦ崯澶盩oolStripMenuItem; private ToolStripButton btn_姘撮噺鍒濆垎閰�; + private DMap CubeView; } } -- Gitblit v1.9.3