Hex Editor - pressing enter in the find box = click the find next button
This commit is contained in:
parent
3280746e39
commit
80b73cab98
|
@ -42,6 +42,7 @@
|
||||||
this.FindBox.Name = "FindBox";
|
this.FindBox.Name = "FindBox";
|
||||||
this.FindBox.Size = new System.Drawing.Size(156, 20);
|
this.FindBox.Size = new System.Drawing.Size(156, 20);
|
||||||
this.FindBox.TabIndex = 0;
|
this.FindBox.TabIndex = 0;
|
||||||
|
this.FindBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FindBox_KeyDown);
|
||||||
this.FindBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FindBox_KeyPress);
|
this.FindBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FindBox_KeyPress);
|
||||||
//
|
//
|
||||||
// Find_Prev
|
// Find_Prev
|
||||||
|
|
|
@ -110,5 +110,13 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
ChangeCasing();
|
ChangeCasing();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void FindBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyData == Keys.Enter)
|
||||||
|
{
|
||||||
|
Global.MainForm.HexEditor1.FindNext(GetFindBoxChars());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue