void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RankView = ((Client_project.Views.Rank)(target)); return; case 2: this.RankTitle = ((System.Windows.Controls.Label)(target)); return; case 3: this.RankButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }