void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.jedisList = ((System.Windows.Controls.ListView)(target)); return; case 2: this.InfoJedi = ((ApplicationWPF.UserControls.CtrlJedi)(target)); return; case 3: this.Add = ((System.Windows.Controls.Button)(target)); return; case 4: this.Remvoe = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }