diff --git a/BizHawk.MultiClient/tools/RamSearch.Designer.cs b/BizHawk.MultiClient/tools/RamSearch.Designer.cs index 020bb2c2e5..ffeae2ff2b 100644 --- a/BizHawk.MultiClient/tools/RamSearch.Designer.cs +++ b/BizHawk.MultiClient/tools/RamSearch.Designer.cs @@ -1208,6 +1208,7 @@ this.Name = "RamSearch"; this.Text = "Ram Search"; this.Load += new System.EventHandler(this.RamSearch_Load); + this.Activated += new System.EventHandler(this.RamSearch_Activated); this.DragDrop += new System.Windows.Forms.DragEventHandler(this.RamSearch_DragDrop); this.DragEnter += new System.Windows.Forms.DragEventHandler(this.RamSearch_DragEnter); this.SearchtoolStrip1.ResumeLayout(false); diff --git a/BizHawk.MultiClient/tools/RamSearch.cs b/BizHawk.MultiClient/tools/RamSearch.cs index 256f15008b..c97f082d2b 100644 --- a/BizHawk.MultiClient/tools/RamSearch.cs +++ b/BizHawk.MultiClient/tools/RamSearch.cs @@ -2154,5 +2154,10 @@ namespace BizHawk.MultiClient { SearchListView.Refresh(); } + + private void RamSearch_Activated(object sender, EventArgs e) + { + SearchListView.Refresh(); + } } } diff --git a/BizHawk.MultiClient/tools/RamWatch.Designer.cs b/BizHawk.MultiClient/tools/RamWatch.Designer.cs index 8d12b94bb9..8b47fe1538 100644 --- a/BizHawk.MultiClient/tools/RamWatch.Designer.cs +++ b/BizHawk.MultiClient/tools/RamWatch.Designer.cs @@ -58,6 +58,7 @@ this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.moveUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.moveDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.showChangeCountsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.showPreviousValueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -105,7 +106,6 @@ 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(); @@ -359,6 +359,14 @@ this.moveDownToolStripMenuItem.Text = "Move &Down"; this.moveDownToolStripMenuItem.Click += new System.EventHandler(this.moveDownToolStripMenuItem_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(222, 22); + this.selectAllToolStripMenuItem.Text = "Select &All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); + // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -796,14 +804,6 @@ 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; @@ -822,6 +822,7 @@ this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Ram Watch"; this.Load += new System.EventHandler(this.RamWatch_Load); + this.Activated += new System.EventHandler(this.RamWatch_Activated); this.Enter += new System.EventHandler(this.RamWatch_Enter); this.DragDrop += new System.Windows.Forms.DragEventHandler(this.RamWatch_DragDrop); this.DragEnter += new System.Windows.Forms.DragEventHandler(this.RamWatch_DragEnter); diff --git a/BizHawk.MultiClient/tools/RamWatch.cs b/BizHawk.MultiClient/tools/RamWatch.cs index 9741b8937a..77cfd8e850 100644 --- a/BizHawk.MultiClient/tools/RamWatch.cs +++ b/BizHawk.MultiClient/tools/RamWatch.cs @@ -1487,5 +1487,10 @@ namespace BizHawk.MultiClient for (int x = 0; x < watchList.Count; x++) WatchListView.SelectItem(x, true); } + + private void RamWatch_Activated(object sender, EventArgs e) + { + WatchListView.Refresh(); + } } } \ No newline at end of file