예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.detectedGestureLabel = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 4:
                this.userViewerUI = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegionMenu = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 2:
     this.GradeMenu = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnAbrir = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 4:
     this.imgBtnAbrir = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.btnDesenhar = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 6:
     this.imgBtnDesenhar = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.btnExcluirInicial = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 8:
     this.imgSalvarDesenhoInicial = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.btnHelp = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 10:
     this.imgHelp = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.btnFechar = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 12:
     this.imgBtnFechar = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.seletorSensorUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 14:
     this.verUsuario = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     case 15:
     this.btnCanhoto = ((Fluxos.Auxiliar.KinectToogleCircleButton)(target));
     return;
     case 16:
     this.imgBtnCanhoto = ((System.Windows.Controls.Image)(target));
     return;
     case 17:
     this.btnEmail = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 18:
     this.imgBtnEmail = ((System.Windows.Controls.Image)(target));
     return;
     case 19:
     this.btnAumentaLinha = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 20:
     this.imgAumentaLinha = ((System.Windows.Controls.Image)(target));
     return;
     case 21:
     this.btnDiminuirLinha = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 22:
     this.imgDiminuirLinha = ((System.Windows.Controls.Image)(target));
     return;
     case 23:
     this.btnVermelho = ((Fluxos.Auxiliar.KinectToogleCircleButton)(target));
     return;
     case 24:
     this.imgVermelho = ((System.Windows.Controls.Image)(target));
     return;
     case 25:
     this.btnVerde = ((Fluxos.Auxiliar.KinectToogleCircleButton)(target));
     return;
     case 26:
     this.imgVerde = ((System.Windows.Controls.Image)(target));
     return;
     case 27:
     this.btnAzul = ((Fluxos.Auxiliar.KinectToogleCircleButton)(target));
     return;
     case 28:
     this.imgAzul = ((System.Windows.Controls.Image)(target));
     return;
     case 29:
     this.btnApagar = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 30:
     this.imgApagar = ((System.Windows.Controls.Image)(target));
     return;
     case 31:
     this.btnExcluir = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 32:
     this.imgSalvarDesenho = ((System.Windows.Controls.Image)(target));
     return;
     case 33:
     this.btnApresentacao = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     return;
     case 34:
     this.imgApresentacao = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.BackgroundRemovalBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.layoutGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.Depth = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.video = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 6:
                this.Backdrop = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.MaskedColor = ((System.Windows.Controls.Image)(target));
                return;

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

            case 9:
                this.userViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
                return;

            case 10:
                this.ClickMe = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 11:
                this.ClickMe2 = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 12:
                this.ClickMe3 = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
                return;

            case 13:
                this.StackPanelWithButton = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.buttonScreenshot = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\MainWindow.xaml"
                this.buttonScreenshot.Click += new System.Windows.RoutedEventHandler(this.ButtonScreenshotClick);

            #line default
            #line hidden
                return;

            case 15:
                this.checkBoxNearMode = ((System.Windows.Controls.CheckBox)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.checkBoxNearMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden

            #line 115 "..\..\MainWindow.xaml"
                this.checkBoxNearMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 17:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KinectJoyMainWindow = ((Kinect.Joy.MainWindow)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.KinectJoyMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.KinectJoyMainWindow_Closing);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.KinectJoyMainWindow.Loaded += new System.Windows.RoutedEventHandler(this.KinectJoyMainWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 3:
     this.RootLayout = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.UserViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     case 6:
     this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 7:
     this.TransPres = ((FluidKit.Controls.TransitionPresenter)(target));
     
     #line 138 "..\..\..\MainWindow.xaml"
     this.TransPres.TransitionCompleted += new System.EventHandler(this.TransPres_TransitionCompleted);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TransRotat = ((FluidKit.Controls.CubeTransition)(target));
     return;
     case 9:
     this.VFlow = ((Kinect.Joy.View3D)(target));
     return;
     case 10:
     this.WeiboTips = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     
     #line 155 "..\..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.FullScreenBtn_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 160 "..\..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.WeiboBtn_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 165 "..\..\..\MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CameraBtn_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
예제 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.FullViewRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.TransPres = ((FluidKit.Controls.TransitionPresenter)(target));
     
     #line 31 "..\..\..\..\View\FullView.xaml"
     this.TransPres.TransitionCompleted += new System.EventHandler(this.TransPres_TransitionCompleted);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ImgCurrent = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.ImgScale = ((System.Windows.Media.ScaleTransform)(target));
     return;
     case 5:
     this.ImgRot = ((System.Windows.Media.RotateTransform)(target));
     return;
     case 6:
     this.WeiboTips = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     
     #line 54 "..\..\..\..\View\FullView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 59 "..\..\..\..\View\FullView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.WeiBoBtn_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 64 "..\..\..\..\View\FullView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CameraBtn_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 78 "..\..\..\..\View\FullView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.PreBtn_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 83 "..\..\..\..\View\FullView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.NextBtn_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.UserViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KinectSensorChooser = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 2:
     this.KinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 3:
     this.KinectUserViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
 public KinectInteractionsConfig(KinectRegion KinectRegion, KinectUserViewer KinectUserViewer)
 {
     this.KinectRegion = KinectRegion;
     this.KinectUserViewer = KinectUserViewer;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.BackgroundRemovalBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 4:
     this.Depth = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.video = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 6:
     this.Backdrop = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.MaskedColor = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 9:
     this.userViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     case 10:
     this.ClickMe = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
     return;
     case 11:
     this.ClickMe2 = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
     return;
     case 12:
     this.ClickMe3 = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
     return;
     case 13:
     this.StackPanelWithButton = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.buttonScreenshot = ((System.Windows.Controls.Button)(target));
     
     #line 114 "..\..\MainWindow.xaml"
     this.buttonScreenshot.Click += new System.Windows.RoutedEventHandler(this.ButtonScreenshotClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.checkBoxNearMode = ((System.Windows.Controls.CheckBox)(target));
     
     #line 115 "..\..\MainWindow.xaml"
     this.checkBoxNearMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);
     
     #line default
     #line hidden
     
     #line 115 "..\..\MainWindow.xaml"
     this.checkBoxNearMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 17:
     this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CameraViewRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.ImgCurrent = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.CountDownLable = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.OverviewImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.WeiboTips = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.Skel_Canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.WeiboBtn = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));
     
     #line 47 "..\..\..\..\View\CameraView.xaml"
     this.WeiboBtn.Click += new System.Windows.RoutedEventHandler(this.WeiboBtn_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 52 "..\..\..\..\View\CameraView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BackBtn_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 57 "..\..\..\..\View\CameraView.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CameraBtn_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.UserViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\mainwindow.xaml"
                ((VME.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\mainwindow.xaml"
                ((VME.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.visorPersonaMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
                return;

            case 5:
                this.fisicoCirculoMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 14 "..\..\mainwindow.xaml"
                this.fisicoCirculoMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.fisicoCirculoMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.atrasCirculoMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 15 "..\..\mainwindow.xaml"
                this.atrasCirculoMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.atrasCirculoMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.psicologicoCirculoMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 20 "..\..\mainwindow.xaml"
                this.psicologicoCirculoMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.psicologicoCirculoMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.usuarioMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 21 "..\..\mainwindow.xaml"
                this.usuarioMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.usuarioMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.configuracionMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 27 "..\..\mainwindow.xaml"
                this.configuracionMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.configuracionMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.acercaDeMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));

            #line 33 "..\..\mainwindow.xaml"
                this.acercaDeMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.acercaDeMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ScrollPruebasMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectScrollViewer)(target));
                return;

            case 12:
                this.Prueba1MenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 41 "..\..\mainwindow.xaml"
                this.Prueba1MenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.Prueba1MenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Prueba2MenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 42 "..\..\mainwindow.xaml"
                this.Prueba2MenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.Prueba2MenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Prueba3MenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 43 "..\..\mainwindow.xaml"
                this.Prueba3MenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.Prueba3MenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Prueba4MenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 44 "..\..\mainwindow.xaml"
                this.Prueba4MenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.Prueba4MenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Prueba5MenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 45 "..\..\mainwindow.xaml"
                this.Prueba5MenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.Prueba5MenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.botonMicrofonoMenuPrincipal = ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target));

            #line 48 "..\..\mainwindow.xaml"
                this.botonMicrofonoMenuPrincipal.Click += new System.Windows.RoutedEventHandler(this.botonMicrofonoMenuPrincipal_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.imagenMicrofono = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.sensorChooserUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

            case 20:
                this.image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 2:
     this.UserViewer = ((Microsoft.Kinect.Toolkit.Controls.KinectUserViewer)(target));
     return;
     case 3:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 4:
     this.PageContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     
     #line 14 "..\..\Copy of MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.StartAction);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 15 "..\..\Copy of MainWindow.xaml"
     ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.StartAction);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }