forked from jaquadro/NBTExplorer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Find.cs
45 lines (38 loc) · 899 Bytes
/
Find.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Windows.Forms;
namespace NBTExplorer
{
public partial class Find : Form
{
public Find ()
{
InitializeComponent();
}
public bool MatchName
{
get { return _cbName.Checked; }
}
public bool MatchValue
{
get { return _cbValue.Checked; }
}
public string NameToken
{
get { return _textName.Text; }
}
public string ValueToken
{
get { return _textValue.Text; }
}
private void _buttonFind_Click (object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
Close();
}
private void _buttonCancel_Click (object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
Close();
}
}
}