Ram Search - add toolbar buttons & images for Search, Reset, Clear Chnage Counts, and Undo

This commit is contained in:
andres.delikat 2011-01-28 03:33:33 +00:00
parent 00b78183dd
commit ea6a8f5eff
8 changed files with 136 additions and 16 deletions

View File

@ -179,6 +179,15 @@
<ItemGroup>
<None Include="images\poke.png" />
</ItemGroup>
<ItemGroup>
<None Include="images\search.png" />
</ItemGroup>
<ItemGroup>
<None Include="images\undo.png" />
</ItemGroup>
<ItemGroup>
<None Include="images\restart.png" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4952
// Runtime Version:2.0.50727.3615
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -101,5 +101,26 @@ namespace BizHawk.MultiClient.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap restart {
get {
object obj = ResourceManager.GetObject("restart", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap search {
get {
object obj = ResourceManager.GetObject("search", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap undo {
get {
object obj = ResourceManager.GetObject("undo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -136,4 +136,13 @@
<data name="poke" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\poke.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="restart" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\restart.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="search" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\search.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="undo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\undo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

View File

@ -29,7 +29,7 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RamSearch));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.SearchtoolStrip1 = new System.Windows.Forms.ToolStrip();
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
@ -38,18 +38,22 @@
this.WatchtoolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.PoketoolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.UndotoolStripButton = new System.Windows.Forms.ToolStripButton();
this.NewSearchtoolStripButton = new System.Windows.Forms.ToolStripButton();
this.TotalSearchLabel = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.Address = new System.Windows.Forms.ColumnHeader();
this.Value = new System.Windows.Forms.ColumnHeader();
this.Previous = new System.Windows.Forms.ColumnHeader();
this.Changes = new System.Windows.Forms.ColumnHeader();
this.toolStrip1.SuspendLayout();
this.ClearChangeCountstoolStripButton = new System.Windows.Forms.ToolStripButton();
this.SearchtoolStrip1.SuspendLayout();
this.SuspendLayout();
//
// toolStrip1
// SearchtoolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.SearchtoolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripButton,
this.openToolStripButton,
this.saveToolStripButton,
@ -57,12 +61,16 @@
this.cutToolStripButton,
this.WatchtoolStripButton1,
this.PoketoolStripButton1,
this.toolStripSeparator1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(378, 25);
this.toolStrip1.TabIndex = 0;
this.toolStrip1.Text = "toolStrip1";
this.toolStripSeparator1,
this.toolStripButton1,
this.UndotoolStripButton,
this.NewSearchtoolStripButton,
this.ClearChangeCountstoolStripButton});
this.SearchtoolStrip1.Location = new System.Drawing.Point(0, 0);
this.SearchtoolStrip1.Name = "SearchtoolStrip1";
this.SearchtoolStrip1.Size = new System.Drawing.Size(378, 25);
this.SearchtoolStrip1.TabIndex = 0;
this.SearchtoolStrip1.Text = "Search";
//
// newToolStripButton
//
@ -132,6 +140,33 @@
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// toolStripButton1
//
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
this.toolStripButton1.Text = "toolStripButton1";
//
// UndotoolStripButton
//
this.UndotoolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.UndotoolStripButton.Image = global::BizHawk.MultiClient.Properties.Resources.undo;
this.UndotoolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.UndotoolStripButton.Name = "UndotoolStripButton";
this.UndotoolStripButton.Size = new System.Drawing.Size(23, 22);
this.UndotoolStripButton.Text = "Undo Search";
//
// NewSearchtoolStripButton
//
this.NewSearchtoolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.NewSearchtoolStripButton.Image = global::BizHawk.MultiClient.Properties.Resources.restart;
this.NewSearchtoolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.NewSearchtoolStripButton.Name = "NewSearchtoolStripButton";
this.NewSearchtoolStripButton.Size = new System.Drawing.Size(23, 22);
this.NewSearchtoolStripButton.Text = "New Search";
//
// TotalSearchLabel
//
this.TotalSearchLabel.AutoSize = true;
@ -179,6 +214,17 @@
this.Changes.Text = "Changes";
this.Changes.Width = 55;
//
// ClearChangeCountstoolStripButton
//
this.ClearChangeCountstoolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.ClearChangeCountstoolStripButton.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ClearChangeCountstoolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("ClearChangeCountstoolStripButton.Image")));
this.ClearChangeCountstoolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.ClearChangeCountstoolStripButton.Name = "ClearChangeCountstoolStripButton";
this.ClearChangeCountstoolStripButton.Size = new System.Drawing.Size(23, 22);
this.ClearChangeCountstoolStripButton.Text = "C";
this.ClearChangeCountstoolStripButton.ToolTipText = "Clear Change Counts";
//
// RamSearch
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -186,13 +232,13 @@
this.ClientSize = new System.Drawing.Size(378, 461);
this.Controls.Add(this.listView1);
this.Controls.Add(this.TotalSearchLabel);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.SearchtoolStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "RamSearch";
this.Text = "Ram Search";
this.Load += new System.EventHandler(this.RamSearch_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.SearchtoolStrip1.ResumeLayout(false);
this.SearchtoolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@ -200,7 +246,7 @@
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStrip SearchtoolStrip1;
private System.Windows.Forms.ToolStripButton newToolStripButton;
private System.Windows.Forms.ToolStripButton openToolStripButton;
private System.Windows.Forms.ToolStripButton saveToolStripButton;
@ -215,5 +261,9 @@
private System.Windows.Forms.ColumnHeader Value;
private System.Windows.Forms.ColumnHeader Previous;
private System.Windows.Forms.ColumnHeader Changes;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripButton UndotoolStripButton;
private System.Windows.Forms.ToolStripButton NewSearchtoolStripButton;
private System.Windows.Forms.ToolStripButton ClearChangeCountstoolStripButton;
}
}

View File

@ -117,7 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="SearchtoolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
@ -163,6 +163,37 @@
e41tHNbucUGnKxICiqXjHpTPJgHBZ/Nv4U1oHqGZJVwstiNe72JwI+J3PYA2MV8IMjOG2dzLfOatBg+2
7JDQ0tEPX9cguvv8GHg5hH0mC9S6eiQweLumDhqNVQgo06dP9fN4UsIoJHRnOhVtmxZGM1NXKoJ3JmTH
Cv71r/4OTrQ4xWMwWlcAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAjxJREFUOE+Nkl1I
U2EYx10RQuFQI7oIuqno66KbLr0IKpCELtxNLSLwogu7GG1Yjcn8WKPVoqVGEEG1FduyqdOEtkgms7RB
ay1otqlMsZVItS+W6ap//3N2yqxZvfDjPfCe3/95nvccWclflk7nUlfs2KBasbJ0Y3l5ZUkumclOR17d
umA4bKCWIvll9UttPutEIo2ZPBD8DDz6CAxngTuhHE5qOyMUt5LSogEWy2CdP5aEsGbnAN97wBUH3NPA
QApwvsyipkb1QAr5M+O6IzwU/ASMZgAvJV8a8OeAkXngMQOHeXba3J+leaRYBzK7L4EABe9bts5Gguxk
lIyR1yT8BehwPQPl1qIBtwcKAZ0ThcoRSgnCSfCORMm1PjGgvWjA5RtPA3623fuG7bJtobIg8z7BCRAj
xo6euWUDGhttLfZAEoO8A2Fmoe0Zwo8hrtiHLKqqjo4VHSHffaD1fo/jocl8D3dDaTzhCOGvhS7GyWQy
B5XGPEvZSpRLRljoqrZ98ygQungIWrV6SqlsiDZbvLmr7ufoHpnEza4X+VqFapySjdSTLT8DFpz7RTli
2AeHVosT9aY4D9vIGXJWmvcKd6P0+QS58CMJbcOrQNS4V5Sbm+yZsrK1Lh4dJzvJJrKNbCebyTqySpTn
3Qfr4KldIsvllX080pJdUhUZ919ZHL2//dhQ3LQHzlMasbIk6/jGbrJaEheF35/0er3nfIMGLU3WlFxe
0cvzH/Kaf8pS2HrpUs5xV0uV/1v+Dtjtgi2QXPDjAAAAAElFTkSuQmCC
</value>
</data>
<data name="ClearChangeCountstoolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAgxJREFUOE+lkvtL
U2EYx+0PEbtpFwnBKPGKiJImGP0gYhIYs1E5GF5gIxkpA00JRSmMEF0ohMh+GaRWYlqabMVcNdS2QpaI
VqiDIYhk397vA6fXhCjyhYdzeM/5fp7vczkAdeL2cwho7v/wWzT1zcN+Pwhr51uY2/y41PQaF+wzKKiZ
QvaN58g0jyLd5KEUcQbg+84P/Cm2tncQjW3j68YWIqubCC3FcOJc478BAuGoZM6zvoRnakXEruEIjhc4
/g5gZop9c+voGAyLbQIfeBZxLL9BA1jzXvuGbWamuKh+GmmVbswE19A59FEBbmoAG7YbsLtm2mZmiml9
cvabNDwpz6YB7LYBoMXCumkJr7LOmnnHzBQ/9X2Bo2cOibm1GsBREbAQiYmw/8lnuCeWkVzcgnZlnw1j
3HV/wuNXK6i/9x5Hc6wawDlTXHbLJ+LZUBQPRyKwdQdxutwl1h+NLXHh5Ht1ewBHsiwawCW57HyDAfWR
dvl0uhZQ1eqX8aVc7EKLqrum651ATLf9OJx5XQM4KmY0xPzZ0hFAiQJnXB0WwME0E3IsL5B17ZlADqWb
NYDrOepdlcysmTWWOrxqbceRWtaLk0VO1XW72D5Vckd2gMBfq8zdpmUG62NJvKM4+XyziDk24xmfWoGE
s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">