diff --git a/BizHawk.MultiClient/tools/Cheats.Designer.cs b/BizHawk.MultiClient/tools/Cheats.Designer.cs index 61015963c5..995782ebca 100644 --- a/BizHawk.MultiClient/tools/Cheats.Designer.cs +++ b/BizHawk.MultiClient/tools/Cheats.Designer.cs @@ -97,6 +97,7 @@ this.toggleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.removeSelectedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.disableAllCheatsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.CheatsMenu.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.AddCheatGroup.SuspendLayout(); @@ -226,6 +227,7 @@ this.toolStripSeparator3, this.moveUpToolStripMenuItem, this.moveDownToolStripMenuItem, + this.selectAllToolStripMenuItem, this.toolStripSeparator6, this.disableAllCheatsToolStripMenuItem}); this.cheatsToolStripMenuItem.Name = "cheatsToolStripMenuItem"; @@ -722,6 +724,14 @@ this.disableAllCheatsToolStripMenuItem1.Text = "Disable All Cheats"; this.disableAllCheatsToolStripMenuItem1.Click += new System.EventHandler(this.disableAllCheatsToolStripMenuItem1_Click); // + // selectAllToolStripMenuItem + // + this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; + this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(201, 22); + this.selectAllToolStripMenuItem.Text = "Select &All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); + // // Cheats // this.AllowDrop = true; @@ -822,5 +832,6 @@ private System.Windows.Forms.ToolStripMenuItem removeSelectedToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem autoloadDialogToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem saveCheatsOnCloseToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; } } \ No newline at end of file diff --git a/BizHawk.MultiClient/tools/Cheats.cs b/BizHawk.MultiClient/tools/Cheats.cs index b8564c131e..f45f3abd75 100644 --- a/BizHawk.MultiClient/tools/Cheats.cs +++ b/BizHawk.MultiClient/tools/Cheats.cs @@ -973,5 +973,11 @@ namespace BizHawk.MultiClient RemoveCheat(); } } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + for (int x = 0; x < Global.CheatList.cheatList.Count; x++) + CheatListView.SelectItem(x, true); + } } } diff --git a/BizHawk.MultiClient/tools/RamSearch.Designer.cs b/BizHawk.MultiClient/tools/RamSearch.Designer.cs index ceec5eb1ba..d9c0bd18b9 100644 --- a/BizHawk.MultiClient/tools/RamSearch.Designer.cs +++ b/BizHawk.MultiClient/tools/RamSearch.Designer.cs @@ -552,6 +552,7 @@ // this.undoToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.undo; this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; + this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this.undoToolStripMenuItem.Size = new System.Drawing.Size(218, 22); this.undoToolStripMenuItem.Text = "&Undo"; this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click_1); diff --git a/BizHawk.MultiClient/tools/RamWatch.Designer.cs b/BizHawk.MultiClient/tools/RamWatch.Designer.cs index 4672bb1079..8d12b94bb9 100644 --- a/BizHawk.MultiClient/tools/RamWatch.Designer.cs +++ b/BizHawk.MultiClient/tools/RamWatch.Designer.cs @@ -105,6 +105,7 @@ this.WatchCountLabel = new System.Windows.Forms.Label(); this.MessageLabel = new System.Windows.Forms.Label(); this.MemDomainLabel = new System.Windows.Forms.Label(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); @@ -245,7 +246,8 @@ this.clearChangeCountsToolStripMenuItem, this.toolStripSeparator3, this.moveUpToolStripMenuItem, - this.moveDownToolStripMenuItem}); + this.moveDownToolStripMenuItem, + this.selectAllToolStripMenuItem}); this.watchesToolStripMenuItem.Name = "watchesToolStripMenuItem"; this.watchesToolStripMenuItem.Size = new System.Drawing.Size(61, 20); this.watchesToolStripMenuItem.Text = "&Watches"; @@ -267,7 +269,7 @@ // this.newWatchToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.FindHS; this.newWatchToolStripMenuItem.Name = "newWatchToolStripMenuItem"; - this.newWatchToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); + this.newWatchToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); this.newWatchToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.newWatchToolStripMenuItem.Text = "&New Watch"; this.newWatchToolStripMenuItem.Click += new System.EventHandler(this.newWatchToolStripMenuItem_Click); @@ -794,6 +796,14 @@ this.MemDomainLabel.Size = new System.Drawing.Size(0, 13); this.MemDomainLabel.TabIndex = 6; // + // selectAllToolStripMenuItem + // + this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; + this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(222, 22); + this.selectAllToolStripMenuItem.Text = "Select &All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); + // // RamWatch // this.AllowDrop = true; @@ -902,5 +912,6 @@ private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; private System.Windows.Forms.Label MemDomainLabel; private System.Windows.Forms.ToolStripMenuItem saveWindowPositionToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; } } \ No newline at end of file diff --git a/BizHawk.MultiClient/tools/RamWatch.cs b/BizHawk.MultiClient/tools/RamWatch.cs index 7f1615edc4..ac01e8ee52 100644 --- a/BizHawk.MultiClient/tools/RamWatch.cs +++ b/BizHawk.MultiClient/tools/RamWatch.cs @@ -1451,5 +1451,16 @@ namespace BizHawk.MultiClient RemoveWatch(); } } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + SelectAll(); + } + + private void SelectAll() + { + for (int x = 0; x < watchList.Count; x++) + WatchListView.SelectItem(x, true); + } } } \ No newline at end of file