private void addButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddPluginSourceWindow();
            var result = window.ShowDialog();

            if (result != null && result.Value) {
                PluginSourceCollection.Instance.Add(window.pluginSource.Text);
            }
        }
        private void addButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddPluginSourceWindow();
            var result = window.ShowDialog();

            if (result != null && result.Value)
            {
                PluginSourceCollection.Instance.Add(window.pluginSource.Text);
            }
        }
        private void addButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddPluginSourceWindow();
            var result = window.ShowDialog();

            if (result != null && result.Value && window.pluginSource.Text.Length > 0) {
                PluginManager.Instance.Sources.Add(window.pluginSource.Text);
            }

            PluginManager.Instance.RefreshAvailablePlugins();
        }
        private void addButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddPluginSourceWindow();
            var result = window.ShowDialog();

            if (result != null && result.Value && window.pluginSource.Text.Length > 0)
            {
                PluginManager.Instance.Sources.Add(window.pluginSource.Text);
            }

            PluginManager.Instance.RefreshAvailablePlugins();
        }