From d750fc90db76b0c6aab2f99b987b7af84b831ce4 Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期二, 07 五月 2024 22:09:59 +0800 Subject: [PATCH] 2024年5月7日 --- Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs | 84 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 75 insertions(+), 9 deletions(-) diff --git a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs index 1d4ba50..8a0d553 100644 --- a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs +++ b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs @@ -79,8 +79,9 @@ this.label_center = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel_rotation = new System.Windows.Forms.ToolStripStatusLabel(); this.label_zoom = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripStatusLabel_split1 = new System.Windows.Forms.ToolStripStatusLabel(); this.label_mouse = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusLabel_split1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.label_ZZ = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel_split2 = new System.Windows.Forms.ToolStripStatusLabel(); this.label_file = new System.Windows.Forms.ToolStripStatusLabel(); this.panel1 = new System.Windows.Forms.Panel(); @@ -143,6 +144,8 @@ this.绔栫洿瀵归綈ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鑷姩瀵归綈ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鎺掑垪ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator22 = new System.Windows.Forms.ToolStripSeparator(); + this.妤煎眰绠$悊ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton(); this.閲嶇疆ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -204,6 +207,8 @@ this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); this.鍙抽敭_Menu = new System.Windows.Forms.ContextMenuStrip(this.components); this.瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.榛樿瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator23 = new System.Windows.Forms.ToolStripSeparator(); this.淇鍥綯oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.姝h鍥綯oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.閲嶇疆瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -231,6 +236,8 @@ this.鍏ㄩ�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鍙嶉�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timer_draw = new System.Windows.Forms.Timer(this.components); + this.map = new Hydro.MapUI.DMap(); + this.姘撮噺鍒嗛厤ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); @@ -243,8 +250,9 @@ this.label_center, this.toolStripStatusLabel_rotation, this.label_zoom, - this.toolStripStatusLabel_split1, this.label_mouse, + this.toolStripStatusLabel_split1, + this.label_ZZ, this.toolStripStatusLabel_split2, this.label_file}); this.statusStrip1.Location = new System.Drawing.Point(0, 578); @@ -273,17 +281,24 @@ this.label_zoom.Text = "Zoom锛�1"; this.label_zoom.Click += new System.EventHandler(this.label_zoom_Click); // + // label_mouse + // + this.label_mouse.Name = "label_mouse"; + this.label_mouse.Size = new System.Drawing.Size(65, 17); + this.label_mouse.Text = "X锛�0 Y锛�0"; + // // toolStripStatusLabel_split1 // this.toolStripStatusLabel_split1.Name = "toolStripStatusLabel_split1"; this.toolStripStatusLabel_split1.Size = new System.Drawing.Size(11, 17); this.toolStripStatusLabel_split1.Text = "|"; // - // label_mouse + // label_ZZ // - this.label_mouse.Name = "label_mouse"; - this.label_mouse.Size = new System.Drawing.Size(65, 17); - this.label_mouse.Text = "X锛�0 Y锛�0"; + this.label_ZZ.Name = "label_ZZ"; + this.label_ZZ.Size = new System.Drawing.Size(71, 17); + this.label_ZZ.Text = "姝d氦妯″紡:寮�"; + this.label_ZZ.Click += new System.EventHandler(this.label_ZZ_Click); // // toolStripStatusLabel_split2 // @@ -617,7 +632,9 @@ this.鍒犻櫎ToolStripMenuItem1, this.toolStripSeparator15, this.瀵归綈ToolStripMenuItem, - this.鎺掑垪ToolStripMenuItem}); + this.鎺掑垪ToolStripMenuItem, + this.toolStripSeparator22, + this.妤煎眰绠$悊ToolStripMenuItem}); this.toolStripDropDownButton_宸ュ叿.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton_宸ュ叿.Image"))); this.toolStripDropDownButton_宸ュ叿.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownButton_宸ュ叿.Name = "toolStripDropDownButton_宸ュ叿"; @@ -853,6 +870,19 @@ this.鎺掑垪ToolStripMenuItem.Name = "鎺掑垪ToolStripMenuItem"; this.鎺掑垪ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鎺掑垪ToolStripMenuItem.Text = "鎺掑垪"; + // + // toolStripSeparator22 + // + this.toolStripSeparator22.Name = "toolStripSeparator22"; + this.toolStripSeparator22.Size = new System.Drawing.Size(145, 6); + // + // 妤煎眰绠$悊ToolStripMenuItem + // + this.妤煎眰绠$悊ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("妤煎眰绠$悊ToolStripMenuItem.Image"))); + this.妤煎眰绠$悊ToolStripMenuItem.Name = "妤煎眰绠$悊ToolStripMenuItem"; + this.妤煎眰绠$悊ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); + this.妤煎眰绠$悊ToolStripMenuItem.Text = "妤煎眰绠$悊"; + this.妤煎眰绠$悊ToolStripMenuItem.Click += new System.EventHandler(this.妤煎眰绠$悊ToolStripMenuItem_Click); // // toolStripSeparator8 // @@ -1285,7 +1315,6 @@ this.cb_Node_Colour.Name = "cb_Node_Colour"; this.cb_Node_Colour.Size = new System.Drawing.Size(75, 25); this.cb_Node_Colour.SelectedIndexChanged += new System.EventHandler(this.cb_Node_Colour_SelectedIndexChanged); - this.cb_Node_Colour.Click += new System.EventHandler(this.cb_Node_Colour_Click); // // cb_Link_Colour // @@ -1295,7 +1324,6 @@ this.cb_Link_Colour.Name = "cb_Link_Colour"; this.cb_Link_Colour.Size = new System.Drawing.Size(75, 25); this.cb_Link_Colour.SelectedIndexChanged += new System.EventHandler(this.cb_Link_Colour_SelectedIndexChanged); - this.cb_Link_Colour.Click += new System.EventHandler(this.cb_Link_Colour_Click); // // tb_棰滆壊鍒嗙骇璁剧疆 // @@ -1336,12 +1364,26 @@ // 瑙嗚ToolStripMenuItem // this.瑙嗚ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.榛樿瑙嗚ToolStripMenuItem, + this.toolStripSeparator23, this.淇鍥綯oolStripMenuItem, this.姝h鍥綯oolStripMenuItem, this.閲嶇疆瑙嗚ToolStripMenuItem}); this.瑙嗚ToolStripMenuItem.Name = "瑙嗚ToolStripMenuItem"; this.瑙嗚ToolStripMenuItem.Size = new System.Drawing.Size(145, 22); this.瑙嗚ToolStripMenuItem.Text = "瑙嗚"; + // + // 榛樿瑙嗚ToolStripMenuItem + // + this.榛樿瑙嗚ToolStripMenuItem.Name = "榛樿瑙嗚ToolStripMenuItem"; + this.榛樿瑙嗚ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.榛樿瑙嗚ToolStripMenuItem.Text = "榛樿瑙嗚"; + this.榛樿瑙嗚ToolStripMenuItem.Click += new System.EventHandler(this.榛樿瑙嗚ToolStripMenuItem_Click); + // + // toolStripSeparator23 + // + this.toolStripSeparator23.Name = "toolStripSeparator23"; + this.toolStripSeparator23.Size = new System.Drawing.Size(121, 6); // // 淇鍥綯oolStripMenuItem // @@ -1540,8 +1582,25 @@ this.timer_draw.Interval = 33; this.timer_draw.Tick += new System.EventHandler(this.timer_draw_Tick); // + // map + // + 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.Name = "map"; + this.map.Size = new System.Drawing.Size(1051, 554); + this.map.TabIndex = 8; + // + // 姘撮噺鍒嗛厤ToolStripMenuItem + // + this.姘撮噺鍒嗛厤ToolStripMenuItem.Name = "姘撮噺鍒嗛厤ToolStripMenuItem"; + this.姘撮噺鍒嗛厤ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.姘撮噺鍒嗛厤ToolStripMenuItem.Text = "姘撮噺鍒嗛厤"; + // // MapViewer // + this.Controls.Add(this.map); this.Controls.Add(this.panel1); this.Controls.Add(this.statusStrip1); this.Name = "MapViewer"; @@ -1748,5 +1807,12 @@ private ToolStripButton tb_棰滆壊鍒嗙骇璁剧疆; private ToolStripSeparator toolStripSeparator21; private Timer timer_draw; + private ToolStripStatusLabel label_ZZ; + private ToolStripSeparator toolStripSeparator22; + private ToolStripMenuItem 妤煎眰绠$悊ToolStripMenuItem; + private ToolStripMenuItem 榛樿瑙嗚ToolStripMenuItem; + private ToolStripMenuItem 姘撮噺鍒嗛厤ToolStripMenuItem; + private ToolStripSeparator toolStripSeparator23; + private DMap map; } } -- Gitblit v1.9.3