At.FF.Krems.Config_Gui.MainWindow.ButtonRegistryRemoveOnClick C# (CSharp) Method

ButtonRegistryRemoveOnClick() private method

Buttons the registry remove on click.
private ButtonRegistryRemoveOnClick ( object sender, RoutedEventArgs e ) : void
sender object The sender.
e System.Windows.RoutedEventArgs The instance containing the event data.
return void
        private void ButtonRegistryRemoveOnClick(object sender, RoutedEventArgs e)
        {
            if (this.ViewModel.SelectedBrowserRegistry == null)
            {
                return;
            }

            this.ViewModel.Config.BrowserRegistry.Remove(this.ViewModel.SelectedBrowserRegistry);
        }