private void ETWProviders_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new EtwProvidersWindow();

            dlg.Owner = this;
            dlg.ShowDialog();
            UpdateEtwEvents();
        }
Exemple #2
0
 public Context(EtwProvidersWindow window)
 {
     _window = window;
     _window.LV.SelectionChanged += (sender, e) =>
     {
         OnPropertyChanged(nameof(ModifyEnabled));
         OnPropertyChanged(nameof(RemoveEnabled));
     };
     Providers = new ObservableCollection <EtwProvider>();
     Providers.AddRange(App.Current.Settings.EtwProviders);
 }