Cheat Window / Ram Watch - Select All menu item and Ctrl+A hotkey. Ram Search - add Ctrl+Z hotkey to Undo menu item
This commit is contained in:
parent
c903ff505d
commit
15743552e2
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue