void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.canvasKinect = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this.canvasDesenho = ((ComandosVoz.Auxiliar.CanvasInteracao)(target));
     return;
     case 3:
     this.barraDirecaoAudio = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.ponteiroBeamAngle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.ponteiroSoundSourceAngle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 6:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 7:
     
     #line 40 "..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFecharClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnEscalaCinza = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
     return;
     case 9:
     this.btnEsqueletoUsuario = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
     return;
     case 10:
     this.btnDesenhar = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
     return;
     case 11:
     
     #line 45 "..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnVoltarClick);
     
     #line default
     #line hidden
     return;
     case 12:
     this.seletorSensorUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 13:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.slider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.slider_DragCompleted));
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.canvasKinect = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.canvasDesenho = ((ComandosVoz.Auxiliar.CanvasInteracao)(target));
                return;

            case 3:
                this.barraDirecaoAudio = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.ponteiroBeamAngle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.ponteiroSoundSourceAngle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
                return;

            case 7:

            #line 40 "..\..\MainWindow.xaml"
                ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFecharClick);

            #line default
            #line hidden
                return;

            case 8:
                this.btnEscalaCinza = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 9:
                this.btnEsqueletoUsuario = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 10:
                this.btnDesenhar = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 11:

            #line 45 "..\..\MainWindow.xaml"
                ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnVoltarClick);

            #line default
            #line hidden
                return;

            case 12:
                this.seletorSensorUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

            case 13:
                this.slider = ((System.Windows.Controls.Slider)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.slider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.slider_DragCompleted));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }