void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.matchEditView = ((WpfFrenchChampionship.MatchEditView)(target)); return; case 2: this.rankingView = ((WpfFrenchChampionship.RankingView)(target)); return; } this._contentLoaded = true; }