protected virtual void OnGetConnectionsCompleted(GetConnectionsCompletedEventArgs args)
 {
     if (GetConnectionsCompleted != null)
     {
         GetConnectionsCompleted(this, args);
     }
 }
 protected virtual void OnGetConnectionsCompleted(GetConnectionsCompletedEventArgs args)
 {
     if (GetConnectionsCompleted != null)
         GetConnectionsCompleted(this, args);
 }
 void ConnectionsProvider_ConnectionsLoaded(object sender, GetConnectionsCompletedEventArgs e)
 {
     Connections = new ObservableCollection<Connection>();
     if (e.Connections != null)
     {
         foreach (Connection conn in e.Connections)
         {
             if (DataSourceProvider.ConnectionTypeSupportsFilter(conn.ConnectionType, Filter))
                 Connections.Add(conn);
         }
     }
     if (ConnectionsDropDownPopupControl != null)
     {
         ConnectionsDropDownPopupControl.Connections = Connections;
         if (ConnectionsDropDownPopup != null && ConnectionsDropDownPopup.IsOpen)
             positionDropDownRelativeToTextBox();
     }
 }