mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-09 17:36:25 +00:00
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
|
// _cbName
|
||||||
//
|
//
|
||||||
this._cbName.AutoSize = true;
|
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.Location = new System.Drawing.Point(13, 13);
|
||||||
this._cbName.Name = "_cbName";
|
this._cbName.Name = "_cbName";
|
||||||
this._cbName.Size = new System.Drawing.Size(57, 17);
|
this._cbName.Size = new System.Drawing.Size(57, 17);
|
||||||
|
@ -65,6 +63,7 @@
|
||||||
this._textName.Name = "_textName";
|
this._textName.Name = "_textName";
|
||||||
this._textName.Size = new System.Drawing.Size(273, 20);
|
this._textName.Size = new System.Drawing.Size(273, 20);
|
||||||
this._textName.TabIndex = 2;
|
this._textName.TabIndex = 2;
|
||||||
|
this._textName.TextChanged += new System.EventHandler(this._textName_TextChanged);
|
||||||
//
|
//
|
||||||
// _textValue
|
// _textValue
|
||||||
//
|
//
|
||||||
|
@ -74,6 +73,7 @@
|
||||||
this._textValue.Name = "_textValue";
|
this._textValue.Name = "_textValue";
|
||||||
this._textValue.Size = new System.Drawing.Size(273, 20);
|
this._textValue.Size = new System.Drawing.Size(273, 20);
|
||||||
this._textValue.TabIndex = 3;
|
this._textValue.TabIndex = 3;
|
||||||
|
this._textValue.TextChanged += new System.EventHandler(this._textValue_TextChanged);
|
||||||
//
|
//
|
||||||
// _buttonFind
|
// _buttonFind
|
||||||
//
|
//
|
||||||
|
|
|
@ -41,5 +41,15 @@ namespace NBTExplorer.Windows
|
||||||
DialogResult = DialogResult.Cancel;
|
DialogResult = DialogResult.Cancel;
|
||||||
Close();
|
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>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
Loading…
Reference in a new issue