Exemplo n.º 1
0
        private bool LoadIntegrationConnectionControl( string integrationName )
        {
            bool controlLoaded = false;
            ClearConnectionControl();

            var integration = Integrations.Where( i => i.Name == integrationName ).FirstOrDefault();

            if ( integration != null )
            {
                ConnectionControl = integration.Component.GetConnectionControl();
                icConnectionSettings.Items.Add( ConnectionControl );
                controlLoaded = true;
            }

            return controlLoaded;
        }
Exemplo n.º 2
0
 private void ClearConnectionControl()
 {
     btnTestConnection.Visibility = Visibility.Hidden;
     icConnectionSettings.Items.Clear();
     ConnectionControl = null;
 }