private void radioDeviceFilter_CheckedChanged(object sender, EventArgs e)
{
Filter = this.textBoxDeviceFilter.Text;
FilterCriteria = this.comboFilterCriteria.Text;
if (radioDeviceFilter.Checked == true)
{
FilterType = "DeviceName";
}
else
{
FilterType = "IpAddress";
}
}