forked from mirrors/NBTExplorer
Change checkbox behavior on Basic Find
This commit is contained in:
parent
2a043ba09c
commit
c9014d8b1f
3 changed files with 14 additions and 4 deletions
4
NBTExplorer/Windows/Find.Designer.cs
generated
4
NBTExplorer/Windows/Find.Designer.cs
generated
|
@ -38,8 +38,6 @@
|
|||
// _cbName
|
||||
//
|
||||
this._cbName.AutoSize = true;
|
||||
this._cbName.Checked = true;
|
||||
this._cbName.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this._cbName.Location = new System.Drawing.Point(13, 13);
|
||||
this._cbName.Name = "_cbName";
|
||||
this._cbName.Size = new System.Drawing.Size(57, 17);
|
||||
|
@ -65,6 +63,7 @@
|
|||
this._textName.Name = "_textName";
|
||||
this._textName.Size = new System.Drawing.Size(273, 20);
|
||||
this._textName.TabIndex = 2;
|
||||
this._textName.TextChanged += new System.EventHandler(this._textName_TextChanged);
|
||||
//
|
||||
// _textValue
|
||||
//
|
||||
|
@ -74,6 +73,7 @@
|
|||
this._textValue.Name = "_textValue";
|
||||
this._textValue.Size = new System.Drawing.Size(273, 20);
|
||||
this._textValue.TabIndex = 3;
|
||||
this._textValue.TextChanged += new System.EventHandler(this._textValue_TextChanged);
|
||||
//
|
||||
// _buttonFind
|
||||
//
|
||||
|
|
|
@ -41,5 +41,15 @@ namespace NBTExplorer.Windows
|
|||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
|
||||
private void _textName_TextChanged (object sender, EventArgs e)
|
||||
{
|
||||
_cbName.Checked = true;
|
||||
}
|
||||
|
||||
private void _textValue_TextChanged (object sender, EventArgs e)
|
||||
{
|
||||
_cbValue.Checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,9 +112,9 @@
|
|||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
Loading…
Reference in a new issue