From 390e6424a3278430a73476034592c24b17fe23ba Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期一, 06 五月 2024 20:00:05 +0800 Subject: [PATCH] 去掉Viewer的状态栏,移到Ribbon里面 --- WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Designer.cs | 108 +++-------------------------------------------------- 1 files changed, 7 insertions(+), 101 deletions(-) diff --git a/WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Designer.cs b/WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Designer.cs index 601540c..8db84d3 100644 --- a/WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Designer.cs +++ b/WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Designer.cs @@ -75,15 +75,6 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewBrowser)); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - 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.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(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripSplitButton2 = new System.Windows.Forms.ToolStripSplitButton(); @@ -237,81 +228,10 @@ this.鍙嶉�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timer_draw = new System.Windows.Forms.Timer(this.components); this.map = new Hydro.WinfrmUI.DMap(); - this.statusStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.鍙抽敭_Menu.SuspendLayout(); this.SuspendLayout(); - // - // statusStrip1 - // - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.label_center, - this.toolStripStatusLabel_rotation, - this.label_zoom, - this.label_mouse, - this.toolStripStatusLabel_split1, - this.label_ZZ, - this.toolStripStatusLabel_split2, - this.label_file}); - this.statusStrip1.Location = new System.Drawing.Point(0, 578); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1051, 22); - this.statusStrip1.TabIndex = 0; - this.statusStrip1.Text = "statusStrip1"; - // - // label_center - // - this.label_center.Name = "label_center"; - this.label_center.Size = new System.Drawing.Size(73, 17); - this.label_center.Text = "center锛�0,0"; - this.label_center.Click += new System.EventHandler(this.label_center_Click); - // - // toolStripStatusLabel_rotation - // - this.toolStripStatusLabel_rotation.Name = "toolStripStatusLabel_rotation"; - this.toolStripStatusLabel_rotation.Size = new System.Drawing.Size(83, 17); - this.toolStripStatusLabel_rotation.Text = "rotation锛�0,0"; - // - // label_zoom - // - this.label_zoom.Name = "label_zoom"; - this.label_zoom.Size = new System.Drawing.Size(61, 17); - 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_ZZ - // - 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 - // - this.toolStripStatusLabel_split2.Name = "toolStripStatusLabel_split2"; - this.toolStripStatusLabel_split2.Size = new System.Drawing.Size(11, 17); - this.toolStripStatusLabel_split2.Text = "|"; - // - // label_file - // - this.label_file.Name = "label_file"; - this.label_file.Size = new System.Drawing.Size(25, 17); - this.label_file.Text = "file"; - this.label_file.Click += new System.EventHandler(this.label_file_Click); - this.label_file.DoubleClick += new System.EventHandler(this.label_file_DoubleClick); // // panel1 // @@ -356,7 +276,7 @@ this.toolStripSeparator21}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1073, 25); + this.toolStrip1.Size = new System.Drawing.Size(1019, 25); this.toolStrip1.TabIndex = 6; this.toolStrip1.Text = "toolStrip1"; // @@ -379,19 +299,19 @@ // this.鏂板缓ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("鏂板缓ToolStripMenuItem.Image"))); this.鏂板缓ToolStripMenuItem.Name = "鏂板缓ToolStripMenuItem"; - this.鏂板缓ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.鏂板缓ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鏂板缓ToolStripMenuItem.Text = "鏂板缓"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6); + this.toolStripSeparator1.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(180, 22); + this.鎵撳紑鏂囦欢浣嶇疆ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鎵撳紑鏂囦欢浣嶇疆ToolStripMenuItem.Text = "鎵撳紑鏂囦欢浣嶇疆"; this.鎵撳紑鏂囦欢浣嶇疆ToolStripMenuItem.Click += new System.EventHandler(this.鎵撳紑鏂囦欢浣嶇疆ToolStripMenuItem_Click); // @@ -399,7 +319,7 @@ // this.ePA涓墦寮�ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ePA涓墦寮�ToolStripMenuItem.Image"))); this.ePA涓墦寮�ToolStripMenuItem.Name = "ePA涓墦寮�ToolStripMenuItem"; - this.ePA涓墦寮�ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.ePA涓墦寮�ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.ePA涓墦寮�ToolStripMenuItem.Text = "EPA涓墦寮�"; this.ePA涓墦寮�ToolStripMenuItem.Click += new System.EventHandler(this.EPA涓墦寮�ToolStripMenuItem_Click); // @@ -407,7 +327,7 @@ // this.鏃х増鎵撳紑ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("鏃х増鎵撳紑ToolStripMenuItem.Image"))); this.鏃х増鎵撳紑ToolStripMenuItem.Name = "鏃х増鎵撳紑ToolStripMenuItem"; - this.鏃х増鎵撳紑ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.鏃х増鎵撳紑ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鏃х増鎵撳紑ToolStripMenuItem.Text = "鏃х増鎵撳紑"; this.鏃х増鎵撳紑ToolStripMenuItem.Visible = false; this.鏃х増鎵撳紑ToolStripMenuItem.Click += new System.EventHandler(this.鏃х増鎵撳紑ToolStripMenuItem_Click); @@ -1588,29 +1508,25 @@ 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.Size = new System.Drawing.Size(1051, 576); this.map.TabIndex = 8; // // ViewBrowser // this.Controls.Add(this.map); this.Controls.Add(this.panel1); - this.Controls.Add(this.statusStrip1); this.Name = "ViewBrowser"; this.Size = new System.Drawing.Size(1051, 600); this.Load += new System.EventHandler(this.MapViewer_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MapViewer_KeyDown); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.MapViewer_KeyPress); this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.MapViewer_PreKeyPress); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.鍙抽敭_Menu.ResumeLayout(false); this.ResumeLayout(false); - this.PerformLayout(); } @@ -1688,11 +1604,6 @@ private ToolStripMenuItem 涓嬫父杩為�氭�oolStripMenuItem; private ToolStripMenuItem 涓婃父杩為�氭�oolStripMenuItem; - private StatusStrip statusStrip1; - private ToolStripStatusLabel label_center; - private ToolStripStatusLabel label_zoom; - private ToolStripStatusLabel label_mouse; - private Panel panel1; private ToolStrip toolStrip1; private ToolStripSplitButton toolStripSplitButton1; @@ -1742,15 +1653,11 @@ private ToolStripSeparator toolStripSeparator8; private ToolStripButton buttonUndo; private ToolStripButton buttonRedo; - private ToolStripStatusLabel toolStripStatusLabel_split1; - private ToolStripStatusLabel toolStripStatusLabel_split2; - private ToolStripStatusLabel label_file; private ToolStripMenuItem 杞撮暅鍍廡oolStripMenuItem; private ToolStripTextBox toolStripTextBox_姘村钩鏃嬭浆瑙掑害; private ToolStripTextBox toolStripTextBox_缂╂斁姣斾緥; private ToolStripMenuItem toolStripMenuItem_鏀惧ぇ2鍊�; private ToolStripMenuItem toolStripMenuItem_缂╁皬2鍊�; - private ToolStripStatusLabel toolStripStatusLabel_rotation; private ToolStripButton toolStripButton_鍒锋柊; private bool is45view = true; private ToolStripMenuItem 鍏抽榾鍒嗘瀽ToolStripMenuItem; @@ -1800,7 +1707,6 @@ private ToolStripButton tb_棰滆壊鍒嗙骇璁剧疆; private ToolStripSeparator toolStripSeparator21; private Timer timer_draw; - private ToolStripStatusLabel label_ZZ; private ToolStripSeparator toolStripSeparator22; private ToolStripMenuItem 妤煎眰绠$悊ToolStripMenuItem; private ToolStripMenuItem 榛樿瑙嗚ToolStripMenuItem; -- Gitblit v1.9.3