void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.textBlockModeFeedback = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this.textBlockCommandFeedback = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.textBlockActionFeedback = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.kinectSpeechCommander = ((Microsoft.Samples.Kinect.WpfViewers.KinectSpeechCommander)(target)); return; } this._contentLoaded = true; }