void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SqlSettings = ((DBSizer.WPF.UI.Views.SqlConnectionSettingsControl)(target)); return; case 2: this.ListOfAllDatabases = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }