void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.webView1 = ((EO.WebBrowser.Wpf.WebView)(target));
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 3:
     this.camera = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     
     #line 59 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnOpenSensor);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 61 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCloseSensor);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 63 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClickphoto);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.CapturedImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.gestureState = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.kinectBodyViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.KinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

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

            case 3:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.SelectedDescription = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.HighScores = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.PlayGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 5:
                this.itemsControl = ((System.Windows.Controls.ItemsControl)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.itemsControl.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.ButtonClick));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:
                this.btnNavigateWithObject = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\Page1.xaml"
                this.btnNavigateWithObject.Click += new System.Windows.RoutedEventHandler(this.btnNavigateWithObject_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\Page1.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Page1.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\Page1.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\Page1.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\ClothesSelect.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.GoBack);

            #line default
            #line hidden
                return;

            case 3:
                this.Posture = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.handTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.lefthandTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 7:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.fullPosture = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 10:
                this.itemsControl = ((System.Windows.Controls.ItemsControl)(target));

            #line 62 "..\..\ClothesSelect.xaml"
                this.itemsControl.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.ButtonClick));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\PostureCapture.xaml"
                ((ProjectKinect.PostureCapture)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\PostureCapture.xaml"
                ((ProjectKinect.PostureCapture)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.camera = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.Posture = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 7:
                this.Screenshot = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\PostureCapture.xaml"
                this.Screenshot.Click += new System.Windows.RoutedEventHandler(this.Screenshot_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectregion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((KinectPhysiotherapy.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.PhysiotherapistButton1 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.PhysiotherapistButton1.Click += new System.Windows.RoutedEventHandler(this.PhysiotherapistButton1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Main = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.KinectVisionTestGame = ((KinectGame.MainWindow)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.KinectVisionTestGame.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.GoBack);

            #line default
            #line hidden
                return;

            case 4:
                this.Profiles = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.Profiles.Click += new System.Windows.RoutedEventHandler(this.ProfileButtonClick);

            #line default
            #line hidden
                return;

            case 5:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 6:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 8:
                this.itemsControl = ((System.Windows.Controls.ItemsControl)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.itemsControl.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.ButtonClick));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ARModeButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CapBgButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.CompositeImage = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 8:
                this.GestureTutorial = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.MorphGif = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.CapturedBackground = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.TransformObject = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.Animation = ((System.Windows.Controls.Image)(target));
                return;

            case 13:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MorphButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 39 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeSceneButton_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 40 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\InterruptFeedback.xaml"
     ((PresentationTrainer.InterruptFeedback)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 3:
     this.pauseSound = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 4:
     this.OutroGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.outroLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.GoBackButton = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.GoToExercises = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\InterruptFeedback.xaml"
     this.GoToExercises.Click += new System.Windows.RoutedEventHandler(this.GoToExercises_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.InstructGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.descriptionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.iconImage = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.InstructButtonNext = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\InterruptFeedback.xaml"
     this.InstructButtonNext.Click += new System.Windows.RoutedEventHandler(this.InstructButtonNext_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.IntroGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.introLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.evidence = ((PresentationTrainer.EvidenceItem)(target));
     return;
     case 15:
     this.IntroButtonNext = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\InterruptFeedback.xaml"
     this.IntroButtonNext.Click += new System.Windows.RoutedEventHandler(this.IntroButtonNext_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.OutroGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GoBackButton = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.GoMainMenu = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControlsBasicsWindow = ((KinectEsriV2.MainWindow)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.ControlsBasicsWindow.Loaded += new System.Windows.RoutedEventHandler(this.ControlsBasicsWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.MyMap = ((ESRI.ArcGIS.Client.Map)(target));
                return;

            case 5:
                this.LayerNight = ((ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer)(target));
                return;

            case 6:
                this.StreetLayer = ((ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer)(target));
                return;

            case 7:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 12:
                this.ColorImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 2:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.dockpanel1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.dockpanel2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.text2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.text3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.text1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.dockpanel3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.dockpanel4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.text4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.text1_second = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.text2_second = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.text3_second = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.text4_second = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.GoBack);

            #line default
            #line hidden
                return;

            case 19:
                this.grid3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.ellipse3 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 21:
                this.text_grid3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.ellipse2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 24:
                this.text_grid2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 27:
                this.text_grid1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.grid4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.ellipse4 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 30:
                this.text_grid4 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.pauseSound = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 3:
     this.MyIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.GoBackButton = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.GoToExercises = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.instructionLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.FreestyleButton = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\MainMenu.xaml"
     this.FreestyleButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.volumeCalibrationButton = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\MainMenu.xaml"
     this.volumeCalibrationButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 4:
     this.UserNameBox = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((KinectProjectWork.MainWindow)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.window.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.backPic = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 5:
                this.dogsBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 6:
                this.Dogs = ((System.Windows.Controls.Border)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.Dogs.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 69 "..\..\MainWindow.xaml"
                this.Dogs.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 7:
                this.dogsLabel = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.dogsLabel.Click += new System.Windows.RoutedEventHandler(this.displayImages);

            #line default
            #line hidden
                return;

            case 8:
                this.dogsLabelText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.carsBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.Cars = ((System.Windows.Controls.Border)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.Cars.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 108 "..\..\MainWindow.xaml"
                this.Cars.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 11:
                this.carsLabel = ((System.Windows.Controls.Button)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.carsLabel.Click += new System.Windows.RoutedEventHandler(this.displayImages);

            #line default
            #line hidden
                return;

            case 12:
                this.carsLabelText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.footballBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 14:
                this.Football = ((System.Windows.Controls.Border)(target));

            #line 148 "..\..\MainWindow.xaml"
                this.Football.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 148 "..\..\MainWindow.xaml"
                this.Football.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 15:
                this.footballLabel = ((System.Windows.Controls.Button)(target));

            #line 162 "..\..\MainWindow.xaml"
                this.footballLabel.Click += new System.Windows.RoutedEventHandler(this.displayImages);

            #line default
            #line hidden
                return;

            case 16:
                this.footballLabelText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.dcBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 18:
                this.DC = ((System.Windows.Controls.Border)(target));

            #line 188 "..\..\MainWindow.xaml"
                this.DC.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 188 "..\..\MainWindow.xaml"
                this.DC.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 19:
                this.dcLabel = ((System.Windows.Controls.Button)(target));

            #line 202 "..\..\MainWindow.xaml"
                this.dcLabel.Click += new System.Windows.RoutedEventHandler(this.displayImages);

            #line default
            #line hidden
                return;

            case 20:
                this.dcLabelText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.quitBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 22:
                this.Quit = ((System.Windows.Controls.Border)(target));

            #line 228 "..\..\MainWindow.xaml"
                this.Quit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnterQ);

            #line default
            #line hidden

            #line 228 "..\..\MainWindow.xaml"
                this.Quit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeaveQ);

            #line default
            #line hidden
                return;

            case 23:

            #line 232 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.quitApplication);

            #line default
            #line hidden
                return;

            case 24:
                this.allBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 25:
                this.AllImages = ((System.Windows.Controls.Border)(target));

            #line 241 "..\..\MainWindow.xaml"
                this.AllImages.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 241 "..\..\MainWindow.xaml"
                this.AllImages.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 26:
                this.allLabel = ((System.Windows.Controls.Button)(target));

            #line 255 "..\..\MainWindow.xaml"
                this.allLabel.Click += new System.Windows.RoutedEventHandler(this.displayImages);

            #line default
            #line hidden
                return;

            case 27:
                this.backBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 28:
                this.back = ((System.Windows.Controls.Border)(target));

            #line 262 "..\..\MainWindow.xaml"
                this.back.MouseEnter += new System.Windows.Input.MouseEventHandler(this.onMouseEnter);

            #line default
            #line hidden

            #line 262 "..\..\MainWindow.xaml"
                this.back.MouseLeave += new System.Windows.Input.MouseEventHandler(this.onMouseLeave);

            #line default
            #line hidden
                return;

            case 29:
                this.backLabel = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\MainWindow.xaml"
                this.backLabel.Click += new System.Windows.RoutedEventHandler(this.changeBackground);

            #line default
            #line hidden
                return;

            case 30:
                this.StickMen = ((System.Windows.Controls.Canvas)(target));
                return;

            case 31:
                this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 32:
                this.next = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.scrollViewer2 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 34:
                this.previous = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.scrollViewer3 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 36:
                this.current = ((System.Windows.Controls.Image)(target));
                return;

            case 37:
                this.Text1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.Text7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.Text8 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.FullGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.SelectedTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.SelectedDescription = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.HighScores = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.PlayGrid = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControlsBasicsWindow = ((Microsoft.Samples.Kinect.ControlsBasics.MainWindow)(target));
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Exit);

            #line default
            #line hidden
                return;

            case 4:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 5:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.Zero = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.Zero.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 7:
                this.One = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.One.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 8:
                this.Two = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.Two.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 9:
                this.Three = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.Three.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 10:
                this.Four = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.Four.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 11:
                this.Five = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.Five.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 12:
                this.Six = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.Six.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 13:
                this.Seven = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.Seven.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\MainWindow.xaml"
                this.Eight.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 15:
                this.Nine = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.Nine.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

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

            case 3:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 4:
                this.test = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.test.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 7:
                this.Date = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.Time = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.Dayofweek = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.Img = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.ImgWeather = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.CurrentTemp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.MaxTemp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.MinTemp = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.Wind = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\ReportFeedback.xaml"
     ((PresentationTrainer.ReportFeedback)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 3:
     this.pauseSound = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 4:
     this.ContinueButton = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\ReportFeedback.xaml"
     this.ContinueButton.Click += new System.Windows.RoutedEventHandler(this.ContinueButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.GoToMainMenuButton = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\ReportFeedback.xaml"
     this.GoToMainMenuButton.Click += new System.Windows.RoutedEventHandler(this.GoToMainMenuButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.introLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.mistakeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.descriptionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.outroLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 3:
     this.Panel = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 5:
     this.Panel2 = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 6:
     this.btnNecklace = ((System.Windows.Controls.Button)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.btnNecklace.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnLongNecklace = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.btnLongNecklace.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnDoubleNecklace = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.btnDoubleNecklace.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnOttiyanam = ((System.Windows.Controls.Button)(target));
     
     #line 90 "..\..\MainWindow.xaml"
     this.btnOttiyanam.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 10:
     this.imgNecklace = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.imgLongNecklace = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.imgDoubleNecklace = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.imgOttiyanam = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.MyIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.startButton = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.introLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.skillLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.instructionLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControlsBasicsWindow = ((Microsoft.Samples.Kinect.ControlsBasics.MainWindow)(target));
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Exit);

            #line default
            #line hidden
                return;

            case 4:
                this.helpButton = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.helpButton.Click += new System.Windows.RoutedEventHandler(this.Help);

            #line default
            #line hidden
                return;

            case 5:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 6:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.Zero = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Zero.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 8:
                this.One = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.One.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 9:
                this.Two = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.Two.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 10:
                this.Three = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\MainWindow.xaml"
                this.Three.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 11:
                this.Four = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.Four.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 12:
                this.Five = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.Five.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 13:
                this.Six = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.Six.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.Seven.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 15:
                this.Eight = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.Eight.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 16:
                this.Nine = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.Nine.Click += new System.Windows.RoutedEventHandler(this.Number);

            #line default
            #line hidden
                return;

            case 17:
                this.Equals = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\MainWindow.xaml"
                this.Equals.Click += new System.Windows.RoutedEventHandler(this.ResultRequest);

            #line default
            #line hidden
                return;

            case 18:
                this.Erase = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.Erase.Click += new System.Windows.RoutedEventHandler(this.EraseLastChar);

            #line default
            #line hidden
                return;

            case 19:
                this.TextRegion = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.moveableStop = ((System.Windows.Media.GradientStop)(target));
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 3:
     
     #line 157 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnOpenSensor);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 159 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCloseSensor);
     
     #line default
     #line hidden
     return;
     case 5:
     this.txtProgress = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     this.OutroGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.CloseSummarizationPopupButton = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.mostRepeatedMistakeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.mostCorrectedMistakeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.mostRepeatedMetaMistakeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.mostCorrectedMetaMistakeLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.KinectBoardWindow = ((Microsoft.Samples.Kinect.ControlsBasics.MainWindow)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.KinectBoardWindow.GotTouchCapture += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.KinectBoardWindow_GotTouchCapture);

            #line default
            #line hidden

            #line 22 "..\..\..\MainWindow.xaml"
                this.KinectBoardWindow.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.KinectBoardWindow_GotTouchCapture);

            #line default
            #line hidden

            #line 23 "..\..\..\MainWindow.xaml"
                this.KinectBoardWindow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.KinectBoardWindow_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
                return;

            case 3:
                this.topBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.GoBack);

            #line default
            #line hidden
                return;

            case 5:
                this.helpButton = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\..\MainWindow.xaml"
                this.helpButton.Click += new System.Windows.RoutedEventHandler(this.helpButton_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\MainWindow.xaml"
                this.image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DateTimeClock_MouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.Sci = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.KinectStreamView = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.DateTimeClock = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.clockText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.dateText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.navigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 14:
                this.kinectRegionGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.weatherPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.wuLogo = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.weather1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.day1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.weatherIcon1 = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.Temp1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.weather2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 22:
                this.day2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.weatherIcon2 = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.Temp2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.weather3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 26:
                this.day3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.weatherIcon3 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.Temp3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.weather4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.day4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.weatherIcon4 = ((System.Windows.Controls.Image)(target));
                return;

            case 32:
                this.Temp4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 34:
                this.itemsControl = ((System.Windows.Controls.ItemsControl)(target));

            #line 133 "..\..\..\MainWindow.xaml"
                this.itemsControl.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.OpenPage));

            #line default
            #line hidden
                return;

            case 35:
                this.RightGridPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.NewsAndAnnouncment = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.Slides = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 38:
                this.SlideImage = ((System.Windows.Controls.Image)(target));
                return;

            case 39:
                this.HelpSlide = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 40:
                this.EventsSlide = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 41:
                this.csEventsList = ((System.Windows.Controls.ListView)(target));
                return;

            case 42:
                this.busScheduleTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.BusGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 44:
                this.bottomBar = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:
                this.bottomBarText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.translate = ((System.Windows.Media.TranslateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectRegion = ((Microsoft.Kinect.Wpf.Controls.KinectRegion)(target));
     return;
     case 2:
     
     #line 18 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.dispCont = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }