protected virtual void OnConnectionAdded(ConnectionAddedEventArgs e)
        {
            var handler = ConnectionAdded;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        private async void ConnPane_OnConnectionAdded(object sender, ConnectionAddedEventArgs e)
        {
            bool gotPlugins = await GetPlugins(e.AddedConnection.ConnectionString);

            if (!gotPlugins)
            {
                Customizations.IsEnabled = false;
                Solutions.IsEnabled = false;
                return;
            }

            Customizations.IsEnabled = true;
            Solutions.IsEnabled = true;
        }
        private async void ConnPane_OnConnectionAdded(object sender, ConnectionAddedEventArgs e)
        {
            bool gotSolutions = await GetSolutions(e.AddedConnection.ConnectionString);

            if (!gotSolutions)
            {
                Customizations.IsEnabled = false;
                Solutions.IsEnabled = false;
                SetDownloadManagedEnabled(false);
                return;
            }

            Customizations.IsEnabled = true;
            Solutions.IsEnabled = true;
            SetDownloadManagedEnabled(true);
        }
 protected virtual void OnConnectionAdded(ConnectionAddedEventArgs e)
 {
     var handler = ConnectionAdded;
     if (handler != null) handler(this, e);
 }