protected virtual void OnConnectionModified(ConnectionModifiedEventArgs e) { var handler = ConnectionModified; if (handler != null) { handler(this, e); } }
private async void ConnPane_OnConnectionModified(object sender, ConnectionModifiedEventArgs e) { bool gotSolutions = await GetSolutions(e.ModifiedConnection.ConnectionString); if (!gotSolutions) { Customizations.IsEnabled = false; Solutions.IsEnabled = false; SetDownloadManagedEnabled(false); return; } Customizations.IsEnabled = true; Solutions.IsEnabled = true; SetDownloadManagedEnabled(true); }
protected virtual void OnConnectionModified(ConnectionModifiedEventArgs e) { var handler = ConnectionModified; if (handler != null) handler(this, e); }