Ram Search - refix Undo, and implement clear change counts
This commit is contained in:
parent
8192860072
commit
f8b5055f53
|
@ -369,7 +369,7 @@
|
||||||
this.UndotoolStripButton});
|
this.UndotoolStripButton});
|
||||||
this.toolStrip1.Location = new System.Drawing.Point(3, 25);
|
this.toolStrip1.Location = new System.Drawing.Point(3, 25);
|
||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
this.toolStrip1.Size = new System.Drawing.Size(102, 25);
|
this.toolStrip1.Size = new System.Drawing.Size(133, 25);
|
||||||
this.toolStrip1.TabIndex = 1;
|
this.toolStrip1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// NewSearchtoolStripButton
|
// NewSearchtoolStripButton
|
||||||
|
@ -401,6 +401,7 @@
|
||||||
this.ClearChangeCountstoolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.ClearChangeCountstoolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
this.ClearChangeCountstoolStripButton.Text = "C";
|
this.ClearChangeCountstoolStripButton.Text = "C";
|
||||||
this.ClearChangeCountstoolStripButton.ToolTipText = "Clear Change Counts";
|
this.ClearChangeCountstoolStripButton.ToolTipText = "Clear Change Counts";
|
||||||
|
this.ClearChangeCountstoolStripButton.Click += new System.EventHandler(this.ClearChangeCountstoolStripButton_Click);
|
||||||
//
|
//
|
||||||
// UndotoolStripButton
|
// UndotoolStripButton
|
||||||
//
|
//
|
||||||
|
@ -410,6 +411,7 @@
|
||||||
this.UndotoolStripButton.Name = "UndotoolStripButton";
|
this.UndotoolStripButton.Name = "UndotoolStripButton";
|
||||||
this.UndotoolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.UndotoolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
this.UndotoolStripButton.Text = "Undo Search";
|
this.UndotoolStripButton.Text = "Undo Search";
|
||||||
|
this.UndotoolStripButton.Click += new System.EventHandler(this.UndotoolStripButton_Click_1);
|
||||||
//
|
//
|
||||||
// toolStrip2
|
// toolStrip2
|
||||||
//
|
//
|
||||||
|
|
|
@ -356,5 +356,23 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
imageIndex = -1;
|
imageIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ClearChangeCounts()
|
||||||
|
{
|
||||||
|
SaveUndo();
|
||||||
|
for (int x = 0; x < searchList.Count; x++)
|
||||||
|
searchList[x].changecount = 0;
|
||||||
|
DisplaySearchList();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ClearChangeCountstoolStripButton_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ClearChangeCounts();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UndotoolStripButton_Click_1(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DoUndo();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -171,9 +171,6 @@
|
||||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>259, 17</value>
|
<value>259, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<value>358, 17</value>
|
|
||||||
</metadata>
|
|
||||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
@ -205,6 +202,9 @@
|
||||||
s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
|
s1c0gHPmbrPTpHNJKOCo2G1mZs20zcwUJ5yp1AB5+8/zEwgF5GMVDxh4AAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
|
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>358, 17</value>
|
||||||
|
</metadata>
|
||||||
<data name="DataSizetoolStripSplitButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="DataSizetoolStripSplitButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
|
|
Loading…
Reference in New Issue