private void bAddFilter_Click(object sender, RoutedEventArgs e) { SourceWindow swindow = new SourceWindow(client); if (swindow.ShowDialog() == true) { Filter = swindow.Filter; Devices = swindow.SelectedDevices; } }
private void cbNet_Checked(object sender, RoutedEventArgs e) { bAddFilter.IsEnabled = true; SourceWindow swindow = new SourceWindow(client); if (swindow.ShowDialog() == true) { Filter = swindow.Filter; Devices = swindow.SelectedDevices; } }