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 = ((Interacao.Auxiliar.CanvasInteracao)(target));
     return;
     case 3:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 4:
     
     #line 22 "..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFecharClick);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnEscalaCinza = ((Interacao.Auxiliar.KinectToggleButton)(target));
     return;
     case 6:
     this.btnEsqueletoUsuario = ((Interacao.Auxiliar.KinectToggleButton)(target));
     return;
     case 7:
     this.btnDesenhar = ((Interacao.Auxiliar.KinectToggleButton)(target));
     return;
     case 8:
     
     #line 27 "..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnVoltarClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 10:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 32 "..\..\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 = ((Interacao.Auxiliar.CanvasInteracao)(target));
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.btnEscalaCinza = ((Interacao.Auxiliar.KinectToggleButton)(target));
                return;

            case 6:
                this.btnEsqueletoUsuario = ((Interacao.Auxiliar.KinectToggleButton)(target));
                return;

            case 7:
                this.btnDesenhar = ((Interacao.Auxiliar.KinectToggleButton)(target));
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:
                this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

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

            #line 32 "..\..\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;
        }