From bf03f3861a7714448ef90e55fabf754487c2e2ee Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 1 Jul 2020 13:04:08 -0500 Subject: [PATCH] ToolStripEx - don't have a size option (toolstrips flow), or location (they are always 0,0) --- src/BizHawk.Client.EmuHawk/LogWindow.Designer.cs | 2 -- src/BizHawk.Client.EmuHawk/MainForm.Designer.cs | 2 -- .../tools/BasicBot/BasicBot.Designer.cs | 2 -- src/BizHawk.Client.EmuHawk/tools/CDL.designer.cs | 2 -- .../tools/Cheats/Cheats.Designer.cs | 2 -- .../tools/Debugger/GenericDebugger.Designer.cs | 2 -- .../tools/Genesis/VDPViewer.Designer.cs | 2 -- .../tools/HexEditor/HexEditor.Designer.cs | 2 -- .../tools/Lua/LuaConsole.Designer.cs | 2 -- .../tools/NES/NESMusicRipper.Designer.cs | 2 -- .../tools/NES/NESNameTableViewer.Designer.cs | 2 -- src/BizHawk.Client.EmuHawk/tools/NES/NESPPU.Designer.cs | 2 -- .../tools/PCE/PCEBGViewer.Designer.cs | 2 -- .../tools/PCE/PCESoundDebugger.Designer.cs | 2 -- .../tools/PCE/PCETileViewer.Designer.cs | 2 -- .../tools/SMS/VDPViewer.Designer.cs | 2 -- .../tools/SNES/SNESGraphicsDebugger.Designer.cs | 2 -- .../tools/TAStudio/TAStudio.Designer.cs | 2 -- .../tools/TI83/TI83KeyPad.Designer.cs | 2 -- src/BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs | 2 -- .../tools/VirtualPads/VirtualpadsTool.Designer.cs | 2 -- .../tools/Watch/RamSearch.Designer.cs | 2 -- .../tools/Watch/RamWatch.Designer.cs | 2 -- src/BizHawk.WinForms.Controls/MenuEx/MenuStripEx.cs | 8 ++++++++ 24 files changed, 8 insertions(+), 46 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/LogWindow.Designer.cs b/src/BizHawk.Client.EmuHawk/LogWindow.Designer.cs index 87d33ada64..ee28e0011f 100644 --- a/src/BizHawk.Client.EmuHawk/LogWindow.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/LogWindow.Designer.cs @@ -139,9 +139,7 @@ namespace BizHawk.Client.EmuHawk // // MenuStrip // - this.MenuStrip.Location = new System.Drawing.Point(0, 0); this.MenuStrip.Name = "MenuStrip"; - this.MenuStrip.Size = new System.Drawing.Size(675, 24); this.MenuStrip.TabIndex = 9; this.MenuStrip.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/MainForm.Designer.cs b/src/BizHawk.Client.EmuHawk/MainForm.Designer.cs index d80e29181e..d24fec9b8e 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.Designer.cs @@ -406,9 +406,7 @@ namespace BizHawk.Client.EmuHawk this.amstradCPCToolStripMenuItem, this.HelpSubMenu}); this.MainformMenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; - this.MainformMenu.Location = new System.Drawing.Point(0, 0); this.MainformMenu.Name = "MainformMenu"; - this.MainformMenu.Size = new System.Drawing.Size(470, 89); this.MainformMenu.TabIndex = 0; this.MainformMenu.Text = "menuStrip1"; this.MainformMenu.MenuActivate += new System.EventHandler(this.MainformMenu_MenuActivate); diff --git a/src/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs index 337ca42e59..80f1da45c6 100644 --- a/src/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs @@ -149,9 +149,7 @@ namespace BizHawk.Client.EmuHawk this.FileSubMenu, this.OptionsSubMenu, this.helpToolStripMenuItem}); - this.BotMenu.Location = new System.Drawing.Point(0, 0); this.BotMenu.Name = "BotMenu"; - this.BotMenu.Size = new System.Drawing.Size(707, 24); this.BotMenu.TabIndex = 0; this.BotMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/CDL.designer.cs b/src/BizHawk.Client.EmuHawk/tools/CDL.designer.cs index 4ebac7f046..efdcff7289 100644 --- a/src/BizHawk.Client.EmuHawk/tools/CDL.designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/CDL.designer.cs @@ -63,9 +63,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(992, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Cheats/Cheats.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Cheats/Cheats.Designer.cs index baab0d3ab5..8fec594e90 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Cheats/Cheats.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Cheats/Cheats.Designer.cs @@ -165,9 +165,7 @@ namespace BizHawk.Client.EmuHawk this.FileSubMenu, this.CheatsSubMenu, this.OptionsSubMenu}); - this.CheatsMenu.Location = new System.Drawing.Point(0, 0); this.CheatsMenu.Name = "CheatsMenu"; - this.CheatsMenu.Size = new System.Drawing.Size(646, 24); this.CheatsMenu.TabIndex = 2; this.CheatsMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Designer.cs index 46874bb3da..cc6b527d2c 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Designer.cs @@ -70,9 +70,7 @@ namespace BizHawk.Client.EmuHawk this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.DebugSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(767, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.Designer.cs index b2350deb62..40931dc62e 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Genesis/VDPViewer.Designer.cs @@ -159,9 +159,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1078, 24); this.menuStrip1.TabIndex = 11; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.Designer.cs index 3d1ebb35d0..d831f306ab 100644 --- a/src/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.Designer.cs @@ -105,9 +105,7 @@ namespace BizHawk.Client.EmuHawk this.EditMenuItem, this.OptionsSubMenu, this.SettingsSubMenu}); - this.HexMenuStrip.Location = new System.Drawing.Point(0, 0); this.HexMenuStrip.Name = "HexMenuStrip"; - this.HexMenuStrip.Size = new System.Drawing.Size(584, 24); this.HexMenuStrip.TabIndex = 1; this.HexMenuStrip.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.Designer.cs index d879c50380..60f0d12b86 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.Designer.cs @@ -197,9 +197,7 @@ namespace BizHawk.Client.EmuHawk this.ScriptSubMenu, this.SettingsSubMenu, this.HelpSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(584, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/NES/NESMusicRipper.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/NES/NESMusicRipper.Designer.cs index db4f965830..8289d286ca 100644 --- a/src/BizHawk.Client.EmuHawk/tools/NES/NESMusicRipper.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/NES/NESMusicRipper.Designer.cs @@ -144,9 +144,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(437, 24); this.menuStrip1.TabIndex = 5; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/NES/NESNameTableViewer.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/NES/NESNameTableViewer.Designer.cs index aa0acff4d6..c23e1243cb 100644 --- a/src/BizHawk.Client.EmuHawk/tools/NES/NESNameTableViewer.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/NES/NESNameTableViewer.Designer.cs @@ -133,9 +133,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(679, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/NES/NESPPU.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/NES/NESPPU.Designer.cs index 39209330a5..4cfbab07b7 100644 --- a/src/BizHawk.Client.EmuHawk/tools/NES/NESPPU.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/NES/NESPPU.Designer.cs @@ -470,10 +470,8 @@ namespace BizHawk.Client.EmuHawk this.FileSubMenu, this.PatternSubMenu, this.SettingsSubMenu}); - this.NesPPUMenu.Location = new System.Drawing.Point(0, 0); this.NesPPUMenu.Name = "NesPPUMenu"; this.NesPPUMenu.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2); - this.NesPPUMenu.Size = new System.Drawing.Size(1139, 28); this.NesPPUMenu.TabIndex = 10; this.NesPPUMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/PCE/PCEBGViewer.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/PCE/PCEBGViewer.Designer.cs index 511072c1a1..c46fe343d1 100644 --- a/src/BizHawk.Client.EmuHawk/tools/PCE/PCEBGViewer.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/PCE/PCEBGViewer.Designer.cs @@ -61,9 +61,7 @@ namespace BizHawk.Client.EmuHawk // this.PceBgViewerMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ViewerSubMenu}); - this.PceBgViewerMenu.Location = new System.Drawing.Point(0, 0); this.PceBgViewerMenu.Name = "PceBgViewerMenu"; - this.PceBgViewerMenu.Size = new System.Drawing.Size(676, 24); this.PceBgViewerMenu.TabIndex = 2; this.PceBgViewerMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.Designer.cs index 5d39a38cc6..92014e8f26 100644 --- a/src/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/PCE/PCESoundDebugger.Designer.cs @@ -247,9 +247,7 @@ namespace BizHawk.Client.EmuHawk // // SoundMenuStrip // - this.SoundMenuStrip.Location = new System.Drawing.Point(0, 0); this.SoundMenuStrip.Name = "SoundMenuStrip"; - this.SoundMenuStrip.Size = new System.Drawing.Size(787, 24); this.SoundMenuStrip.TabIndex = 4; this.SoundMenuStrip.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/PCE/PCETileViewer.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/PCE/PCETileViewer.Designer.cs index 5749fa2fe6..93cc908e43 100644 --- a/src/BizHawk.Client.EmuHawk/tools/PCE/PCETileViewer.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/PCE/PCETileViewer.Designer.cs @@ -126,9 +126,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(810, 24); this.menuStrip1.TabIndex = 8; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/SMS/VDPViewer.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/SMS/VDPViewer.Designer.cs index 6d6a7e6e9c..a5107c13be 100644 --- a/src/BizHawk.Client.EmuHawk/tools/SMS/VDPViewer.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/SMS/VDPViewer.Designer.cs @@ -115,9 +115,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(572, 24); this.menuStrip1.TabIndex = 5; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.Designer.cs index efbffca844..a6fa50544c 100644 --- a/src/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/SNES/SNESGraphicsDebugger.Designer.cs @@ -275,9 +275,7 @@ namespace BizHawk.Client.EmuHawk // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1086, 24); this.menuStrip1.TabIndex = 33; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs index 9fa8894cdf..21feea079a 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs @@ -214,9 +214,7 @@ namespace BizHawk.Client.EmuHawk this.SettingsSubMenu, this.ColumnsSubMenu, this.HelpSubMenu}); - this.TASMenu.Location = new System.Drawing.Point(0, 0); this.TASMenu.Name = "TASMenu"; - this.TASMenu.Size = new System.Drawing.Size(509, 24); this.TASMenu.TabIndex = 0; this.TASMenu.Text = "menuStrip1"; this.TASMenu.MenuActivate += new System.EventHandler(this.TASMenu_MenuActivate); diff --git a/src/BizHawk.Client.EmuHawk/tools/TI83/TI83KeyPad.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/TI83/TI83KeyPad.Designer.cs index cae0bdc49d..f5c2e9eb96 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TI83/TI83KeyPad.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TI83/TI83KeyPad.Designer.cs @@ -178,9 +178,7 @@ namespace BizHawk.Client.EmuHawk this.toolStripMenuItem1, this.KeyPadSubMenu, this.SettingsSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(355, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs index 9d97b52bae..7aefc17945 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs @@ -131,9 +131,7 @@ namespace BizHawk.Client.EmuHawk this.FileSubMenu, this.EditSubMenu, this.OptionsSubMenu}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(644, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/VirtualPads/VirtualpadsTool.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/VirtualPads/VirtualpadsTool.Designer.cs index e7e70b37e9..1b1da57e0e 100644 --- a/src/BizHawk.Client.EmuHawk/tools/VirtualPads/VirtualpadsTool.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/VirtualPads/VirtualpadsTool.Designer.cs @@ -101,9 +101,7 @@ namespace BizHawk.Client.EmuHawk this.PadMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.PadsSubMenu, this.SettingsSubMenu}); - this.PadMenu.Location = new System.Drawing.Point(0, 0); this.PadMenu.Name = "PadMenu"; - this.PadMenu.Size = new System.Drawing.Size(452, 24); this.PadMenu.TabIndex = 7; this.PadMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs index 7957d00927..02b6bdb426 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs @@ -307,9 +307,7 @@ namespace BizHawk.Client.EmuHawk this.settingsToolStripMenuItem, this.searchToolStripMenuItem, this.optionsToolStripMenuItem}); - this.RamSearchMenu.Location = new System.Drawing.Point(0, 0); this.RamSearchMenu.Name = "RamSearchMenu"; - this.RamSearchMenu.Size = new System.Drawing.Size(445, 24); this.RamSearchMenu.TabIndex = 4; this.RamSearchMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.Designer.cs b/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.Designer.cs index 6d7b162b27..7462f8df64 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.Designer.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Watch/RamWatch.Designer.cs @@ -470,9 +470,7 @@ namespace BizHawk.Client.EmuHawk this.FileSubMenu, this.WatchesSubMenu, this.OptionsSubMenu}); - this.RamWatchMenu.Location = new System.Drawing.Point(0, 0); this.RamWatchMenu.Name = "RamWatchMenu"; - this.RamWatchMenu.Size = new System.Drawing.Size(364, 24); this.RamWatchMenu.TabIndex = 3; this.RamWatchMenu.Text = "menuStrip1"; // diff --git a/src/BizHawk.WinForms.Controls/MenuEx/MenuStripEx.cs b/src/BizHawk.WinForms.Controls/MenuEx/MenuStripEx.cs index 4e7b63b5c8..f4b93ee65e 100644 --- a/src/BizHawk.WinForms.Controls/MenuEx/MenuStripEx.cs +++ b/src/BizHawk.WinForms.Controls/MenuEx/MenuStripEx.cs @@ -1,4 +1,6 @@ using System; +using System.ComponentModel; +using System.Drawing; using System.Windows.Forms; namespace BizHawk.WinForms.Controls @@ -8,6 +10,12 @@ namespace BizHawk.WinForms.Controls /// public class MenuStripEx : MenuStrip { + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] + public new Size Size => base.Size; + + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] + public new Point Location => new Point(0, 0); + protected override void WndProc(ref Message m) { base.WndProc(ref m);