Hex Find - even more simple
This commit is contained in:
parent
8b48bd3e26
commit
29a6c7369b
|
@ -71,23 +71,17 @@ namespace BizHawk.Client.EmuHawk
|
|||
var size = FindBox.Size;
|
||||
|
||||
Controls.Remove(FindBox);
|
||||
if (HexRadio.Checked)
|
||||
{
|
||||
FindBox = new HexTextBox
|
||||
{
|
||||
CharacterCasing = CharacterCasing.Upper,
|
||||
Nullable = true
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
FindBox = new TextBox { CharacterCasing = CharacterCasing.Normal };
|
||||
}
|
||||
|
||||
FindBox.Text = text;
|
||||
FindBox.Size = size;
|
||||
FindBox = new HexTextBox
|
||||
{
|
||||
CharacterCasing = CharacterCasing.Upper,
|
||||
Nullable = HexRadio.Checked,
|
||||
Text = text,
|
||||
Size = size,
|
||||
Location = location
|
||||
};
|
||||
|
||||
Controls.Add(FindBox);
|
||||
FindBox.Location = location;
|
||||
}
|
||||
|
||||
private void HexRadio_CheckedChanged(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue