Ram Watch/Search - refresh on form activate

This commit is contained in:
andres.delikat 2011-08-20 15:35:16 +00:00
parent 2c057a3d1f
commit 40512ae558
4 changed files with 21 additions and 9 deletions

View File

@ -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);

View File

@ -2154,5 +2154,10 @@ namespace BizHawk.MultiClient
{
SearchListView.Refresh();
}
private void RamSearch_Activated(object sender, EventArgs e)
{
SearchListView.Refresh();
}
}
}

View File

@ -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);

View File

@ -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();
}
}
}