From a44a6d5d30ad21cb51ec9b561ed41e4eaaf9a8bb Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Tue, 18 Jan 2011 03:36:43 +0000 Subject: [PATCH] Add a very bare Ram Watch dialog --- .../BizHawk.MultiClient.csproj | 10 + BizHawk.MultiClient/MainForm.Designer.cs | 38 +-- BizHawk.MultiClient/MainForm.cs | 6 + BizHawk.MultiClient/RamWatch.Designer.cs | 277 ++++++++++++++++++ BizHawk.MultiClient/RamWatch.cs | 113 +++++++ BizHawk.MultiClient/RamWatch.resx | 123 ++++++++ 6 files changed, 548 insertions(+), 19 deletions(-) create mode 100644 BizHawk.MultiClient/RamWatch.Designer.cs create mode 100644 BizHawk.MultiClient/RamWatch.cs create mode 100644 BizHawk.MultiClient/RamWatch.resx diff --git a/BizHawk.MultiClient/BizHawk.MultiClient.csproj b/BizHawk.MultiClient/BizHawk.MultiClient.csproj index 55e9fe82a5..73361a7f8d 100644 --- a/BizHawk.MultiClient/BizHawk.MultiClient.csproj +++ b/BizHawk.MultiClient/BizHawk.MultiClient.csproj @@ -90,6 +90,10 @@ Resources.Designer.cs Designer + + RamWatch.cs + Designer + True Resources.resx @@ -103,6 +107,12 @@ Settings.settings True + + Form + + + RamWatch.cs + diff --git a/BizHawk.MultiClient/MainForm.Designer.cs b/BizHawk.MultiClient/MainForm.Designer.cs index 7a1f02c524..574d03a5f4 100644 --- a/BizHawk.MultiClient/MainForm.Designer.cs +++ b/BizHawk.MultiClient/MainForm.Designer.cs @@ -321,7 +321,7 @@ // this.loadstate1toolStripMenuItem.Name = "loadstate1toolStripMenuItem"; this.loadstate1toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; - this.loadstate1toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate1toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate1toolStripMenuItem.Text = "1"; this.loadstate1toolStripMenuItem.Click += new System.EventHandler(this.loadstate1toolStripMenuItem_Click); // @@ -329,7 +329,7 @@ // this.loadstate2toolStripMenuItem.Name = "loadstate2toolStripMenuItem"; this.loadstate2toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F2; - this.loadstate2toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate2toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate2toolStripMenuItem.Text = "2"; this.loadstate2toolStripMenuItem.Click += new System.EventHandler(this.loadstate2toolStripMenuItem_Click); // @@ -337,7 +337,7 @@ // this.loadstate3toolStripMenuItem.Name = "loadstate3toolStripMenuItem"; this.loadstate3toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3; - this.loadstate3toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate3toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate3toolStripMenuItem.Text = "3"; this.loadstate3toolStripMenuItem.Click += new System.EventHandler(this.loadstate3toolStripMenuItem_Click); // @@ -345,7 +345,7 @@ // this.loadstate4toolStripMenuItem.Name = "loadstate4toolStripMenuItem"; this.loadstate4toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F4; - this.loadstate4toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate4toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate4toolStripMenuItem.Text = "4"; this.loadstate4toolStripMenuItem.Click += new System.EventHandler(this.loadstate4toolStripMenuItem_Click); // @@ -353,7 +353,7 @@ // this.loadstate5toolStripMenuItem.Name = "loadstate5toolStripMenuItem"; this.loadstate5toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5; - this.loadstate5toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate5toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate5toolStripMenuItem.Text = "5"; this.loadstate5toolStripMenuItem.Click += new System.EventHandler(this.loadstate5toolStripMenuItem_Click); // @@ -361,7 +361,7 @@ // this.loadstate6toolStripMenuItem.Name = "loadstate6toolStripMenuItem"; this.loadstate6toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F6; - this.loadstate6toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate6toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate6toolStripMenuItem.Text = "6"; this.loadstate6toolStripMenuItem.Click += new System.EventHandler(this.loadstate6toolStripMenuItem_Click); // @@ -369,7 +369,7 @@ // this.loadstate7toolStripMenuItem.Name = "loadstate7toolStripMenuItem"; this.loadstate7toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F7; - this.loadstate7toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate7toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate7toolStripMenuItem.Text = "7"; this.loadstate7toolStripMenuItem.Click += new System.EventHandler(this.loadstate7toolStripMenuItem_Click); // @@ -377,7 +377,7 @@ // this.loadstate8toolStripMenuItem.Name = "loadstate8toolStripMenuItem"; this.loadstate8toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F8; - this.loadstate8toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate8toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate8toolStripMenuItem.Text = "8"; this.loadstate8toolStripMenuItem.Click += new System.EventHandler(this.loadstate8toolStripMenuItem_Click); // @@ -385,7 +385,7 @@ // this.loadstate9toolStripMenuItem.Name = "loadstate9toolStripMenuItem"; this.loadstate9toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F9; - this.loadstate9toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate9toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate9toolStripMenuItem.Text = "9"; this.loadstate9toolStripMenuItem.Click += new System.EventHandler(this.loadstate9toolStripMenuItem_Click); // @@ -393,7 +393,7 @@ // this.loadstate0toolStripMenuItem.Name = "loadstate0toolStripMenuItem"; this.loadstate0toolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F10; - this.loadstate0toolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.loadstate0toolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.loadstate0toolStripMenuItem.Text = "0"; this.loadstate0toolStripMenuItem.Click += new System.EventHandler(this.loadstate0toolStripMenuItem_Click); // @@ -578,26 +578,26 @@ // pauseToolStripMenuItem // this.pauseToolStripMenuItem.Name = "pauseToolStripMenuItem"; - this.pauseToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.pauseToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.pauseToolStripMenuItem.Text = "&Pause"; this.pauseToolStripMenuItem.Click += new System.EventHandler(this.pauseToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6); + this.toolStripSeparator1.Size = new System.Drawing.Size(141, 6); // // powerToolStripMenuItem // this.powerToolStripMenuItem.Name = "powerToolStripMenuItem"; - this.powerToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.powerToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.powerToolStripMenuItem.Text = "Power Cycle"; this.powerToolStripMenuItem.Click += new System.EventHandler(this.powerToolStripMenuItem_Click); // // resetToolStripMenuItem // this.resetToolStripMenuItem.Name = "resetToolStripMenuItem"; - this.resetToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.resetToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.resetToolStripMenuItem.Text = "&Reset"; this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); // @@ -679,7 +679,7 @@ // this.controllersToolStripMenuItem.Enabled = false; this.controllersToolStripMenuItem.Name = "controllersToolStripMenuItem"; - this.controllersToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.controllersToolStripMenuItem.Size = new System.Drawing.Size(137, 22); this.controllersToolStripMenuItem.Text = "&Controllers"; this.controllersToolStripMenuItem.Click += new System.EventHandler(this.controllersToolStripMenuItem_Click); // @@ -687,7 +687,7 @@ // this.hotkeysToolStripMenuItem.Enabled = false; this.hotkeysToolStripMenuItem.Name = "hotkeysToolStripMenuItem"; - this.hotkeysToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.hotkeysToolStripMenuItem.Size = new System.Drawing.Size(137, 22); this.hotkeysToolStripMenuItem.Text = "&Hotkeys"; this.hotkeysToolStripMenuItem.Click += new System.EventHandler(this.hotkeysToolStripMenuItem_Click); // @@ -705,10 +705,10 @@ // // rAMWatchToolStripMenuItem // - this.rAMWatchToolStripMenuItem.Enabled = false; this.rAMWatchToolStripMenuItem.Name = "rAMWatchToolStripMenuItem"; this.rAMWatchToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.rAMWatchToolStripMenuItem.Text = "RAM &Watch"; + this.rAMWatchToolStripMenuItem.Click += new System.EventHandler(this.rAMWatchToolStripMenuItem_Click); // // rAMSearchToolStripMenuItem // @@ -751,7 +751,7 @@ // this.helpToolStripMenuItem1.Enabled = false; this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1"; - this.helpToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.helpToolStripMenuItem1.Size = new System.Drawing.Size(114, 22); this.helpToolStripMenuItem1.Text = "&Help"; this.helpToolStripMenuItem1.Click += new System.EventHandler(this.helpToolStripMenuItem1_Click); // @@ -759,7 +759,7 @@ // this.aboutToolStripMenuItem.Enabled = false; this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; - this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(114, 22); this.aboutToolStripMenuItem.Text = "&About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); // diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index d90495f189..c6f3528830 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -715,5 +715,11 @@ namespace BizHawk.MultiClient auto.Checked = false; recentROMToolStripMenuItem.DropDownItems.Add(auto); } + + private void rAMWatchToolStripMenuItem_Click(object sender, EventArgs e) + { + RamWatch RamWatch1 = new RamWatch(); + RamWatch1.Show(); + } } } \ No newline at end of file diff --git a/BizHawk.MultiClient/RamWatch.Designer.cs b/BizHawk.MultiClient/RamWatch.Designer.cs new file mode 100644 index 0000000000..2c7b79e01e --- /dev/null +++ b/BizHawk.MultiClient/RamWatch.Designer.cs @@ -0,0 +1,277 @@ +namespace BizHawk.MultiClient +{ + partial class RamWatch + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.filesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.watchesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.appendFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.recentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.autoLoadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveWindowPositionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.listView1 = new System.Windows.Forms.ListView(); + this.newWatchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editWatchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.removeWatchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.duplicateWatchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.moveUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.moveDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.filesToolStripMenuItem, + this.watchesToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(375, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // filesToolStripMenuItem + // + this.filesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newListToolStripMenuItem, + this.openToolStripMenuItem, + this.saveToolStripMenuItem, + this.saveAsToolStripMenuItem, + this.appendFileToolStripMenuItem, + this.recentToolStripMenuItem, + this.toolStripSeparator1, + this.autoLoadToolStripMenuItem, + this.saveWindowPositionToolStripMenuItem, + this.toolStripSeparator2, + this.exitToolStripMenuItem}); + this.filesToolStripMenuItem.Name = "filesToolStripMenuItem"; + this.filesToolStripMenuItem.Size = new System.Drawing.Size(40, 20); + this.filesToolStripMenuItem.Text = "&Files"; + // + // watchesToolStripMenuItem + // + this.watchesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newWatchToolStripMenuItem, + this.editWatchToolStripMenuItem, + this.removeWatchToolStripMenuItem, + this.duplicateWatchToolStripMenuItem, + this.toolStripSeparator3, + this.moveUpToolStripMenuItem, + this.moveDownToolStripMenuItem}); + this.watchesToolStripMenuItem.Name = "watchesToolStripMenuItem"; + this.watchesToolStripMenuItem.Size = new System.Drawing.Size(61, 20); + this.watchesToolStripMenuItem.Text = "&Watches"; + // + // newListToolStripMenuItem + // + this.newListToolStripMenuItem.Name = "newListToolStripMenuItem"; + this.newListToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); + this.newListToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.newListToolStripMenuItem.Text = "&New List"; + this.newListToolStripMenuItem.Click += new System.EventHandler(this.newListToolStripMenuItem_Click); + // + // openToolStripMenuItem + // + this.openToolStripMenuItem.Name = "openToolStripMenuItem"; + this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); + this.openToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.openToolStripMenuItem.Text = "&Open..."; + this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); + this.saveToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.saveToolStripMenuItem.Text = "&Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // saveAsToolStripMenuItem + // + this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; + this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + | System.Windows.Forms.Keys.S))); + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.saveAsToolStripMenuItem.Text = "Save &As..."; + this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click); + // + // appendFileToolStripMenuItem + // + this.appendFileToolStripMenuItem.Name = "appendFileToolStripMenuItem"; + this.appendFileToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.appendFileToolStripMenuItem.Text = "A&ppend File..."; + this.appendFileToolStripMenuItem.Click += new System.EventHandler(this.appendFileToolStripMenuItem_Click); + // + // recentToolStripMenuItem + // + this.recentToolStripMenuItem.Name = "recentToolStripMenuItem"; + this.recentToolStripMenuItem.Size = new System.Drawing.Size(190, 22); + this.recentToolStripMenuItem.Text = "Recent"; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(187, 6); + // + // autoLoadToolStripMenuItem + // + this.autoLoadToolStripMenuItem.Name = "autoLoadToolStripMenuItem"; + this.autoLoadToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.autoLoadToolStripMenuItem.Text = "Auto-Load"; + this.autoLoadToolStripMenuItem.Click += new System.EventHandler(this.autoLoadToolStripMenuItem_Click); + // + // saveWindowPositionToolStripMenuItem + // + this.saveWindowPositionToolStripMenuItem.Name = "saveWindowPositionToolStripMenuItem"; + this.saveWindowPositionToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.saveWindowPositionToolStripMenuItem.Text = "Save Window Position"; + this.saveWindowPositionToolStripMenuItem.Click += new System.EventHandler(this.saveWindowPositionToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(187, 6); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4))); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(204, 22); + this.exitToolStripMenuItem.Text = "&Close"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // listView1 + // + this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listView1.Location = new System.Drawing.Point(27, 39); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(307, 360); + this.listView1.TabIndex = 1; + this.listView1.UseCompatibleStateImageBehavior = false; + // + // newWatchToolStripMenuItem + // + this.newWatchToolStripMenuItem.Name = "newWatchToolStripMenuItem"; + this.newWatchToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.newWatchToolStripMenuItem.Text = "&New Watch"; + this.newWatchToolStripMenuItem.Click += new System.EventHandler(this.newWatchToolStripMenuItem_Click); + // + // editWatchToolStripMenuItem + // + this.editWatchToolStripMenuItem.Name = "editWatchToolStripMenuItem"; + this.editWatchToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.editWatchToolStripMenuItem.Text = "&Edit Watch"; + this.editWatchToolStripMenuItem.Click += new System.EventHandler(this.editWatchToolStripMenuItem_Click); + // + // removeWatchToolStripMenuItem + // + this.removeWatchToolStripMenuItem.Name = "removeWatchToolStripMenuItem"; + this.removeWatchToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.removeWatchToolStripMenuItem.Text = "&Remove Watch"; + this.removeWatchToolStripMenuItem.Click += new System.EventHandler(this.removeWatchToolStripMenuItem_Click); + // + // duplicateWatchToolStripMenuItem + // + this.duplicateWatchToolStripMenuItem.Name = "duplicateWatchToolStripMenuItem"; + this.duplicateWatchToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.duplicateWatchToolStripMenuItem.Text = "&Duplicate Watch"; + this.duplicateWatchToolStripMenuItem.Click += new System.EventHandler(this.duplicateWatchToolStripMenuItem_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(160, 6); + // + // moveUpToolStripMenuItem + // + this.moveUpToolStripMenuItem.Name = "moveUpToolStripMenuItem"; + this.moveUpToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.moveUpToolStripMenuItem.Text = "Move &Up"; + this.moveUpToolStripMenuItem.Click += new System.EventHandler(this.moveUpToolStripMenuItem_Click); + // + // moveDownToolStripMenuItem + // + this.moveDownToolStripMenuItem.Name = "moveDownToolStripMenuItem"; + this.moveDownToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.moveDownToolStripMenuItem.Text = "Move &Down"; + this.moveDownToolStripMenuItem.Click += new System.EventHandler(this.moveDownToolStripMenuItem_Click); + // + // RamWatch + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(375, 422); + this.Controls.Add(this.listView1); + this.Controls.Add(this.menuStrip1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "RamWatch"; + this.Text = "Ram Watch"; + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem filesToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem watchesToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newListToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem appendFileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem recentToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem autoLoadToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveWindowPositionToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.ToolStripMenuItem newWatchToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem editWatchToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem removeWatchToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem duplicateWatchToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem moveUpToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem moveDownToolStripMenuItem; + } +} \ No newline at end of file diff --git a/BizHawk.MultiClient/RamWatch.cs b/BizHawk.MultiClient/RamWatch.cs new file mode 100644 index 0000000000..1dc330448e --- /dev/null +++ b/BizHawk.MultiClient/RamWatch.cs @@ -0,0 +1,113 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace BizHawk.MultiClient +{ + public partial class RamWatch : Form + { + public RamWatch() + { + InitializeComponent(); + } + + void AddNewWatch() + { + } + + void EditWatch() + { + } + + void RemoveWatch() + { + } + + void DuplicateWatch() + { + } + + void MoveUp() + { + } + + void MoveDown() + { + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void newListToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void openToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void appendFileToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void autoLoadToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void saveWindowPositionToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + + private void newWatchToolStripMenuItem_Click(object sender, EventArgs e) + { + AddNewWatch(); + } + + private void editWatchToolStripMenuItem_Click(object sender, EventArgs e) + { + EditWatch(); + } + + private void removeWatchToolStripMenuItem_Click(object sender, EventArgs e) + { + RemoveWatch(); + } + + private void duplicateWatchToolStripMenuItem_Click(object sender, EventArgs e) + { + DuplicateWatch(); + } + + private void moveUpToolStripMenuItem_Click(object sender, EventArgs e) + { + MoveUp(); + } + + private void moveDownToolStripMenuItem_Click(object sender, EventArgs e) + { + MoveDown(); + } + } +} diff --git a/BizHawk.MultiClient/RamWatch.resx b/BizHawk.MultiClient/RamWatch.resx new file mode 100644 index 0000000000..69c56499b0 --- /dev/null +++ b/BizHawk.MultiClient/RamWatch.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file