void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myAudio = ((PresentationTrainer.AudioMirror)(target)); return; case 2: this.backButton = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\VolumeCalibration.xaml" this.backButton.Click += new System.Windows.RoutedEventHandler(this.closeButton_Click); #line default #line hidden return; case 3: this.isSpeakingSlider = ((System.Windows.Controls.Slider)(target)); #line 13 "..\..\VolumeCalibration.xaml" this.isSpeakingSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.isSpeakingSlider_ValueChanged); #line default #line hidden return; case 4: this.speakingSoftSlider = ((System.Windows.Controls.Slider)(target)); #line 14 "..\..\VolumeCalibration.xaml" this.speakingSoftSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.speakingSoftSlider_ValueChanged); #line default #line hidden return; case 5: this.speakingLoudSlider = ((System.Windows.Controls.Slider)(target)); #line 15 "..\..\VolumeCalibration.xaml" this.speakingLoudSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.speakingLoudSlider_ValueChanged); #line default #line hidden return; case 6: this.isSpeakingLabel = ((System.Windows.Controls.Label)(target)); return; case 7: this.speakingSoftLabel = ((System.Windows.Controls.Label)(target)); return; case 8: this.speakingLoudLabel = ((System.Windows.Controls.Label)(target)); return; case 9: this.saveButton = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\VolumeCalibration.xaml" this.saveButton.Click += new System.Windows.RoutedEventHandler(this.saveButton_Click); #line default #line hidden return; case 10: this.___No_Name_ = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 2: this.coinSound = ((System.Windows.Controls.MediaElement)(target)); return; case 3: this.backgroundImg = ((System.Windows.Controls.Image)(target)); return; case 4: this.CompositeImage = ((System.Windows.Controls.Canvas)(target)); return; case 5: this.myBody = ((PresentationTrainer.BodyMirror)(target)); return; case 6: this.myAudio = ((PresentationTrainer.AudioMirror)(target)); return; case 7: this.mySkeleton = ((PresentationTrainer.SkeletonTraker)(target)); return; case 8: this.ghost = ((PresentationTrainer.Ghost)(target)); return; case 9: this.ghostMoving1 = ((System.Windows.Controls.Image)(target)); return; case 10: this.ghostMoving = ((PresentationTrainer.GhostMoving)(target)); return; case 11: this.countdown = ((PresentationTrainer.CountDown)(target)); return; case 12: this.countdownPause = ((PresentationTrainer.CountDownPause)(target)); return; case 13: this.textFeedback = ((PresentationTrainer.FreestyleTextFeedback)(target)); return; case 14: this.oldTextFeedback = ((PresentationTrainer.FreestyleOldText)(target)); return; case 15: this.logStopButton = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\FreestyleMode.xaml" this.logStopButton.Click += new System.Windows.RoutedEventHandler(this.logStopButton_Click); #line default #line hidden return; case 16: this.reportStopButton = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\FreestyleMode.xaml" this.reportStopButton.Click += new System.Windows.RoutedEventHandler(this.reportStopButton_Click); #line default #line hidden return; case 17: this.stopButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\FreestyleMode.xaml" this.stopButton.Click += new System.Windows.RoutedEventHandler(this.stopButton_Click); #line default #line hidden return; case 18: this.debugLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }