Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));

            #line 7 "..\..\..\MainWindow.xaml"
                this.kinectSensorChooser1.KinectSensorChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.kinectSensorChooser1_KinectSensorChanged);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 4:
                this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

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

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

            case 6:
                this.imgOriginal = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.SkeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.KinectSensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 4:
                this.tbTime = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((CameraFundamentals.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\KinectWindow.xaml"
                ((KinectFitness.KinectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));

            #line 17 "..\..\..\KinectWindow.xaml"
                this.kinectSkeletonViewer1.Unloaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Unloaded);

            #line default
            #line hidden
                return;

            case 3:
                this.MediaPlayer = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 4:
                this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            #line 22 "..\..\..\KinectWindow.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.btnPlay_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 8:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.MediaPlayer_Copy = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 5:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 7:
                this.p2racket = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 10:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 11:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.canvas2 = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\MainWindow.xaml"
                ((Coding4Fun.Kinect.Wpf.TestApplication.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ColorImage = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            case 6:

            #line 43 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.DistanceSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.kinectSensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
        public KinectController(MainWindow win)
        {
            mainwin = win;
            ksc = win.ksc;
            ksc.KinectSensorChanged += new DependencyPropertyChangedEventHandler(kscChanged);

            fullthrowtimer.Tick += fullthrowtimer_Tick;
            fullthrowtimer.Interval = TimeSpan.FromSeconds(.2);
        }
Example #10
0
        private static void KinectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
        {
            KinectSensorChooser sensorChooser = (KinectSensorChooser)d;

            if (sensorChooser.KinectSensorChanged != null)
            {
                sensorChooser.KinectSensorChanged(sensorChooser, args);
            }
        }
Example #11
0
 public KinectHandler(KinectSensorChooser sensor_chooser)
 {
     sensorChooser = sensor_chooser;
     _sensor = sensor_chooser.Kinect;
        //vManager = ViewManager.getInstance();
        //speech_suggestion_block = vManager.get_speech_suggestion_block();
        //speech_status_icon = vManager.get_speech_status_icon();
        //Image color_view = vWindow.get_image_frame();
        gManager = new GestureManager(_sensor);
        sManager = new SpeechManager(_sensor);
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.RecordForTimeSpan = ((System.Windows.Controls.Slider)(target));
                return;

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

            #line 14 "..\..\..\MainWindow.xaml"
                this.RecordButton.Click += new System.Windows.RoutedEventHandler(this.RecordButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 6:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.slider1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblCurrentAngle = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            case 8:
                this.headImage2 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 3:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;

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

            #line 12 "..\..\..\MainWindow.xaml"
                this.Record.Click += new System.Windows.RoutedEventHandler(this.Record_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\MainWindow.xaml"
                this.Stop.Click += new System.Windows.RoutedEventHandler(this.Stop_Click);

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

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden

            #line 6 "..\..\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.playfield = ((System.Windows.Controls.Canvas)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.playfield.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PlayfieldSizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.kinectViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\RecordWindow.xaml"
                ((KinectFitness.RecordWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 5:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;

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

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

            #line 14 "..\..\..\RecordWindow.xaml"
                this.recordOption.Click += new System.Windows.RoutedEventHandler(this.recordOption_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 2:
                this.angleBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.angleBox_Copy = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\StartupWindow.xaml"
                ((KinectFitness.StartupWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.playButtonImg = ((System.Windows.Controls.Image)(target));

            #line 19 "..\..\..\StartupWindow.xaml"
                this.playButtonImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.Button_Play));

            #line default
            #line hidden
                return;

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

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

            #line 21 "..\..\..\StartupWindow.xaml"
                this.quitButtonImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.QuitApplication));

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\StartupWindow.xaml"
                this.recordButtonImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.Button_Record));

            #line default
            #line hidden
                return;

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

            case 7:
                this.optionsborder = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.quitborder = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.recordborder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 11:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            case 13:
                this.rightHandProgressBar = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #21
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectTest.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectTest.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 5:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 7:
     this.headEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 8:
     this.menu3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.menu2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 10:
     this.menu1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 11:
     this.click = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.clickTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.roll = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.rollTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.labelBackground = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 16:
     this.clickLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #22
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 2:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.rotTx = ((System.Windows.Media.RotateTransform)(target));
     return;
     case 4:
     this.imgWav = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.bdConf = ((System.Windows.Controls.Border)(target));
     return;
     case 6:
     this.tbConf = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.clipConf = ((System.Windows.Media.RectangleGeometry)(target));
     return;
     case 8:
     this.tbColor = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.tbSpeechStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.enableAec = ((System.Windows.Controls.CheckBox)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);
     
     #line default
     #line hidden
     
     #line 32 "..\..\MainWindow.xaml"
     this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\RecordWindow.xaml"
                ((KinectFitness.RecordWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 3:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));

            #line 10 "..\..\..\RecordWindow.xaml"
                this.kinectSkeletonViewer1.Unloaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\RecordWindow.xaml"
                this.recordButton.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.Record_Button));

            #line default
            #line hidden
                return;

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

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

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

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

            #line 28 "..\..\..\RecordWindow.xaml"
                this.YesButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\RecordWindow.xaml"
                this.NoButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #24
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((AudioRecorder.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.RecordForTimeSpan = ((System.Windows.Controls.Slider)(target));
     return;
     case 3:
     this.RecordButton = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.RecordButton.Click += new System.Windows.RoutedEventHandler(this.RecordButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.PlayButton = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\MainWindow.xaml"
     this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.audioPlayer = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 6:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\KinectWindow.xaml"
                ((KinectFitness.KinectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.background = ((System.Windows.Media.GradientStop)(target));
                return;

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

            case 4:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));

            #line 32 "..\..\..\KinectWindow.xaml"
                this.kinectSkeletonViewer1.Unloaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Unloaded);

            #line default
            #line hidden
                return;

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

            case 7:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

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

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

            #line 37 "..\..\..\KinectWindow.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.motorUp_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\KinectWindow.xaml"
                this.btnDown.Click += new System.Windows.RoutedEventHandler(this.motorDown_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.playicon = ((System.Windows.Controls.Image)(target));

            #line 40 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseEnterEvent, new System.Windows.Input.MouseEventHandler(this.hoverPlay));

            #line default
            #line hidden

            #line 40 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseLeaveEvent, new System.Windows.Input.MouseEventHandler(this.leavePlay));

            #line default
            #line hidden

            #line 40 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.btnPlay_Click));

            #line default
            #line hidden
                return;

            case 14:
                this.hoverplayicon = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.mediaBackground = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 16:
                this.rectanglePlayer = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 17:
                this.pauseicon = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 20:
                this.heartarrow = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.AnimatedRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

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

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

            case 24:
                this.viewButton = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\..\KinectWindow.xaml"
                this.viewButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.replayOption = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\KinectWindow.xaml"
                this.replayOption.Click += new System.Windows.RoutedEventHandler(this.replayButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.seatedMode = ((System.Windows.Controls.CheckBox)(target));

            #line 58 "..\..\..\KinectWindow.xaml"
                this.seatedMode.Checked += new System.Windows.RoutedEventHandler(this.seatedMode_Checked_1);

            #line default
            #line hidden

            #line 58 "..\..\..\KinectWindow.xaml"
                this.seatedMode.Unchecked += new System.Windows.RoutedEventHandler(this.seatedMode_Unchecked_1);

            #line default
            #line hidden
                return;

            case 27:
                this.kinectDisplay2 = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\KinectWindow.xaml"
                ((KinectFitness.KinectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.FitnessPlayer = ((System.Windows.Controls.MediaElement)(target));

            #line 18 "..\..\..\KinectWindow.xaml"
                this.FitnessPlayer.MediaEnded += new System.Windows.RoutedEventHandler(this.videoEnd);

            #line default
            #line hidden
                return;

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

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

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

            #line 22 "..\..\..\KinectWindow.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.motorUp_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\KinectWindow.xaml"
                this.btnDown.Click += new System.Windows.RoutedEventHandler(this.motorDown_Click);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseEnterEvent, new System.Windows.Input.MouseEventHandler(this.hoverButton));

            #line default
            #line hidden

            #line 25 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseLeaveEvent, new System.Windows.Input.MouseEventHandler(this.leaveButton));

            #line default
            #line hidden

            #line 25 "..\..\..\KinectWindow.xaml"
                this.playicon.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.btnPlay_Click));

            #line default
            #line hidden
                return;

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

            case 10:
                this.mediaBackground = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.rectanglePlayer = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 13:
                this.hoverpauseicon = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.heartgauge = ((System.Windows.Controls.Image)(target));
                return;

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

            case 16:
                this.pointsBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 17:
                this.videoProgressBar = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 18:
                this.rightHandProgressBar = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 19:
                this.userBackground = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 20:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));

            #line 37 "..\..\..\KinectWindow.xaml"
                this.kinectSkeletonViewer1.Unloaded += new System.Windows.RoutedEventHandler(this.kinectSkeletonViewer1_Unloaded);

            #line default
            #line hidden
                return;

            case 21:
                this.backButtonHoverImg = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.backButtonImg = ((System.Windows.Controls.Image)(target));

            #line 39 "..\..\..\KinectWindow.xaml"
                this.backButtonImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.backButton_Click));

            #line default
            #line hidden
                return;

            case 23:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 24:
                this.debugger = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.bigPlayIconHoverImg = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.bigPlayIconImg = ((System.Windows.Controls.Image)(target));

            #line 43 "..\..\..\KinectWindow.xaml"
                this.bigPlayIconImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.btnPlay_Click));

            #line default
            #line hidden
                return;

            case 27:
                this.statsBackground = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 29:
                this.speedStatsBox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.statsTitle = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 32:
                this.doneButtonHoverImg = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.keyIsDown);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((game.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.keyIsUp);

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.floor = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

            case 7:
                this.scoreText = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.o2text = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.o1text = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.canStart = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.avgLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.diff = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 15:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 16:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 17:
                this.currPos = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 2:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.rotTx = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            case 5:
                this.bdConf = ((System.Windows.Controls.Border)(target));
                return;

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

            case 7:
                this.clipConf = ((System.Windows.Media.RectangleGeometry)(target));
                return;

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

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

            case 10:
                this.enableAec = ((System.Windows.Controls.CheckBox)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden

            #line 32 "..\..\MainWindow.xaml"
                this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden
                return;

            case 11:
                this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\face.xaml"
     ((SkeletalTracking.FaceWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\face.xaml"
     ((SkeletalTracking.FaceWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((cs160_serialization.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((cs160_serialization.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.contentContainer = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.songMediaElement = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 4:
     this.videoPlaybackCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.kinectSkeletonViewerCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.kinectSensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 7:
     this.KinectSkeletonViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #31
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\SettingsPage.xaml"
     ((apk.SettingsPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cSettings = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.motionRange = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\SettingsPage.xaml"
     this.motionRange.Click += new System.Windows.RoutedEventHandler(this.motionRangeClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.tabooGestures = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\SettingsPage.xaml"
     this.tabooGestures.Click += new System.Windows.RoutedEventHandler(this.tabooGesturesClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tabooWords = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\SettingsPage.xaml"
     this.tabooWords.Click += new System.Windows.RoutedEventHandler(this.tabooWordsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.home = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\SettingsPage.xaml"
     this.home.Click += new System.Windows.RoutedEventHandler(this.goHomeClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.cursor = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.nothing = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\SettingsPage.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.volumeClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.tblHeight = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 4:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

            case 5:
                this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
                return;

            case 6:
                this.HipCenter = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.Spine = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.ShoulderCenter = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.Head = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 10:
                this.ShoulderLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.ElbowLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.WristLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 13:
                this.HandLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.ShoulderRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 15:
                this.ElbowRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 16:
                this.WristRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 17:
                this.HandRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 18:
                this.HipLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 19:
                this.KneeLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            case 21:
                this.FootLeft = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 22:
                this.HipRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            case 24:
                this.AnkleRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 25:
                this.FootRight = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            #line 32 "..\..\..\MainWindow.xaml"
                this.image1.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #33
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((WorkingWithDepthData.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((WorkingWithDepthData.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 6:
     this.hitLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.hitLabel2 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\TabooGestures.xaml"
     ((apk.TabooGestures)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 3:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 4:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.button2 = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.button3 = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.gestureListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.NotificationCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.GestureNameNotification = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.GestureNameInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.button4 = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\TabooGestures.xaml"
     this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);
     
     #line default
     #line hidden
     return;
     case 5:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 6:
     this.midImage = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.headImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.rightImage = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.leftImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.tiger = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.health = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 12:
     this.lblHealth = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.score = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\SelectLevelWindow.xaml"
                ((KinectFitness.SelectLevelWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.levels = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            #line 19 "..\..\..\SelectLevelWindow.xaml"
                this.intenseImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.intenseWorkout));

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\SelectLevelWindow.xaml"
                this.moderateImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.moderateWorkout));

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\SelectLevelWindow.xaml"
                this.warmUpImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.warmUpWorkout));

            #line default
            #line hidden
                return;

            case 8:
                this.warmUpImgBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.moderateImgBorder = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 12:
                this.rightHandProgressBar = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.backButtonImg = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.backButtonHoverImg = ((System.Windows.Controls.Image)(target));

            #line 29 "..\..\..\SelectLevelWindow.xaml"
                this.backButtonHoverImg.AddHandler(System.Windows.Input.Mouse.MouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.backButtonPressed));

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.slider1 = ((System.Windows.Controls.Slider)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider1_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.Degree = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 17 "..\..\..\MainWindow.xaml"
                this.btnangle.Click += new System.Windows.RoutedEventHandler(this.btnangle_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.LeftHand = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.Head = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            case 11:
                this.RightHand = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.TextInstructions4 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
                return;

            case 4:
                this.leftKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.leftAnkleEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.rightAnkleEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.shoulderCenterEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            case 11:
                this.enableAec = ((System.Windows.Controls.CheckBox)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.enableAec.Checked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden

            #line 17 "..\..\MainWindow.xaml"
                this.enableAec.Unchecked += new System.Windows.RoutedEventHandler(this.EnableAecChecked);

            #line default
            #line hidden
                return;

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

            case 13:
                this.inSquatDisplay = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
                return;

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

            #line 7 "..\..\..\MainWindow.xaml"
                this.image1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 5:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 8:
                this.kinectDepthViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 9:
                this.kinectDepthViewer2 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

            case 10:
                this.kinectDepthViewer3 = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\MainWindow.xaml"
                this.image2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.image2_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            case 15:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.slider1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 18:
                this.slider2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 19:
                this.textBox5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.textBox6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.textBox7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.textBox8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.image3 = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.textBox9 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.textBox10 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 42 "..\..\..\MainWindow.xaml"
                this.buttonstop.Click += new System.Windows.RoutedEventHandler(this.buttonstop_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Project_v1._1.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Project_v1._1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 5:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 6:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 7:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 8:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 11:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblCurrentAngle = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.statusBar2 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 16:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.stop_button = ((System.Windows.Controls.Button)(target));
     return;
     case 19:
     this.start_button = ((System.Windows.Controls.Button)(target));
     return;
     case 20:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     case 23:
     this.image4 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectFighter.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.P2SpecialAttack = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.P1SpecialAttack = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.P1Head = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.P1Lfoot = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.P1Rfoot = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.P1Chest = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.P1LArm = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.P1LForearm = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.P1RArm = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.P1RForearm = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.P1Lhand = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.P1Rhand = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.P1LThigh = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.P1RThigh = ((System.Windows.Controls.Image)(target));
     return;
     case 17:
     this.P1LShin = ((System.Windows.Controls.Image)(target));
     return;
     case 18:
     this.P1RShin = ((System.Windows.Controls.Image)(target));
     return;
     case 19:
     this.P2Head = ((System.Windows.Controls.Image)(target));
     return;
     case 20:
     this.P2Lfoot = ((System.Windows.Controls.Image)(target));
     return;
     case 21:
     this.P2Rfoot = ((System.Windows.Controls.Image)(target));
     return;
     case 22:
     this.P2Chest = ((System.Windows.Controls.Image)(target));
     return;
     case 23:
     this.P2LArm = ((System.Windows.Controls.Image)(target));
     return;
     case 24:
     this.P2LForearm = ((System.Windows.Controls.Image)(target));
     return;
     case 25:
     this.P2RArm = ((System.Windows.Controls.Image)(target));
     return;
     case 26:
     this.P2RForearm = ((System.Windows.Controls.Image)(target));
     return;
     case 27:
     this.P2Lhand = ((System.Windows.Controls.Image)(target));
     return;
     case 28:
     this.P2Rhand = ((System.Windows.Controls.Image)(target));
     return;
     case 29:
     this.P2LThigh = ((System.Windows.Controls.Image)(target));
     return;
     case 30:
     this.P2RThigh = ((System.Windows.Controls.Image)(target));
     return;
     case 31:
     this.P2LShin = ((System.Windows.Controls.Image)(target));
     return;
     case 32:
     this.P2RShin = ((System.Windows.Controls.Image)(target));
     return;
     case 33:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 34:
     this.P1Health = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 35:
     this.P2Health = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 36:
     this.P1Special = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 37:
     this.P2Special = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 38:
     this.P1Name = ((System.Windows.Controls.Image)(target));
     return;
     case 39:
     this.P2Name = ((System.Windows.Controls.Image)(target));
     return;
     case 40:
     this.vsImage = ((System.Windows.Controls.Image)(target));
     return;
     case 41:
     this.P1SpecialImage = ((System.Windows.Controls.Image)(target));
     return;
     case 42:
     this.P2SpecialImage = ((System.Windows.Controls.Image)(target));
     return;
     case 43:
     this.P1HealthImage = ((System.Windows.Controls.Image)(target));
     return;
     case 44:
     this.P2HealthImage = ((System.Windows.Controls.Image)(target));
     return;
     case 45:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 46:
     this.p1wins = ((System.Windows.Controls.Image)(target));
     return;
     case 47:
     this.p2wins = ((System.Windows.Controls.Image)(target));
     return;
     case 48:
     this.p1loses = ((System.Windows.Controls.Image)(target));
     return;
     case 49:
     this.p2loses = ((System.Windows.Controls.Image)(target));
     return;
     case 50:
     this.p1specialattack2 = ((System.Windows.Controls.Image)(target));
     return;
     case 51:
     this.p2specialattack2 = ((System.Windows.Controls.Image)(target));
     return;
     case 52:
     this.fighterImg = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #42
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectSetupDev.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.imgProcessed = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.txtXYRadius = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.DImage = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.imgOriginal = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #43
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\SettingsPage.xaml"
     ((apk.SettingsPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cSettings = ((System.Windows.Controls.Canvas)(target));
     
     #line 39 "..\..\..\SettingsPage.xaml"
     this.cSettings.KeyDown += new System.Windows.Input.KeyEventHandler(this.proceed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.rangeButton = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\SettingsPage.xaml"
     this.rangeButton.Click += new System.Windows.RoutedEventHandler(this.rangeClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.gesturesButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\SettingsPage.xaml"
     this.gesturesButton.Click += new System.Windows.RoutedEventHandler(this.gesturesClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.wordsButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\SettingsPage.xaml"
     this.wordsButton.Click += new System.Windows.RoutedEventHandler(this.wordsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.homeButton = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\SettingsPage.xaml"
     this.homeButton.Click += new System.Windows.RoutedEventHandler(this.homeClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.volumeButton = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\SettingsPage.xaml"
     this.volumeButton.Click += new System.Windows.RoutedEventHandler(this.volumeClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.volumePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.rightRangePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 16:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.rightProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 20:
     this.leftRangePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 21:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.leftProgress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 25:
     this.panelBorder = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #44
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((SettingUpDevEnvironment.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((SettingUpDevEnvironment.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     
     #line 7 "..\..\..\MainWindow.xaml"
     this.kinectSensorChooser1.KinectSensorChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.kinectSensorChooser1_KinectSensorChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\ReviewPage.xaml"
     ((apk.ReviewPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cursor = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.detailsPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.rightPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.leftPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.returnButton = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.saveButton = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.presentButton = ((System.Windows.Controls.Button)(target));
     return;
     case 14:
     this.timePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 15:
     this.timeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.time = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 18:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #46
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.xn1 = ((apk.HomePage)(target));
     
     #line 4 "..\..\..\HomePage.xaml"
     this.xn1.Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cHomePage = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.beginButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\HomePage.xaml"
     this.beginButton.Click += new System.Windows.RoutedEventHandler(this.beginClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.reviewButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\HomePage.xaml"
     this.reviewButton.Click += new System.Windows.RoutedEventHandler(this.reviewClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.settingsButton = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\HomePage.xaml"
     this.settingsButton.Click += new System.Windows.RoutedEventHandler(this.settingsClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.closeButton = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\HomePage.xaml"
     this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #47
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((CameraFundamentals.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((CameraFundamentals.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #48
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\Window3.xaml"
     ((KinectHubDemo.Window3)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\Window3.xaml"
     ((KinectHubDemo.Window3)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.FlashGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.DepthViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectDepthViewer)(target));
     return;
     case 6:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #49
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((ShapeGame.MainWindow)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Closed += new System.EventHandler(this.WindowClosed);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.playfield = ((System.Windows.Controls.Canvas)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.playfield.SizeChanged += new System.Windows.SizeChangedEventHandler(this.PlayfieldSizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.kinectViewer = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.SensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #50
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\ResultPage.xaml"
     ((apk.ResultPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cResult = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 5:
     this.title = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.detailsPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.rightPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.motionRangeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.volumeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.gesturesLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.wordsLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.leftPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.postureCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.rangeCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.volumeCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.gesturesCount = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.wordsCount = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.returnButton = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\..\ResultPage.xaml"
     this.returnButton.Click += new System.Windows.RoutedEventHandler(this.returnClick);
     
     #line default
     #line hidden
     return;
     case 20:
     this.saveButton = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\..\ResultPage.xaml"
     this.saveButton.Click += new System.Windows.RoutedEventHandler(this.saveClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.presentButton = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\ResultPage.xaml"
     this.presentButton.Click += new System.Windows.RoutedEventHandler(this.presentClick);
     
     #line default
     #line hidden
     return;
     case 22:
     this.timePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 23:
     this.timeLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.time = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.savedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.gesturesListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 27:
     this.wordsListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 28:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Kinect_Tennis_Final.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.p1racket = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.p2racket = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 11:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 12:
     this.canvas2 = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #52
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((KinectIPD.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((KinectIPD.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.btnMove = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\MainWindow.xaml"
     this.btnMove.Click += new System.Windows.RoutedEventHandler(this.btnMove_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 6:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 8:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     
     #line 18 "..\..\..\MainWindow.xaml"
     this.textBlock2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.textBlock2_MouseDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #53
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((CS160_FinalProj_Framework.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((CS160_FinalProj_Framework.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainWindowCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.MainFrame = ((System.Windows.Controls.Frame)(target));
     
     #line 7 "..\..\..\MainWindow.xaml"
     this.MainFrame.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.MainFrame_Navigated);
     
     #line default
     #line hidden
     return;
     case 4:
     this.KinectSensorChooser = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.KinectSensorChooser.KinectSensorChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.KinectSensorChooser_KinectSensorChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.KinectCursor = ((System.Windows.Shapes.Ellipse)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectSetupDev.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((KinectSetupDev.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.image1.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 4:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\MainWindow.xaml"
     ((YMCA_Detector.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     ((YMCA_Detector.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.smileyHead = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 8:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 9:
     this.elbowleftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.elbowrightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.sholderleftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 12:
     this.sholderrightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 13:
     this.debugg = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #56
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\LocalRepository.xaml"
     ((WpfApplication1.LocalRepository)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 15 "..\..\..\LocalRepository.xaml"
     this.image1.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image1_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.image4 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.image5 = ((System.Windows.Controls.Image)(target));
     
     #line 19 "..\..\..\LocalRepository.xaml"
     this.image5.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image5_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 7:
     this.image6 = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.Files = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.Status = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.StatusText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 12:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 13:
     this.kinectSkeletonViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSkeletonViewer)(target));
     return;
     case 14:
     this.inkCanvas = ((System.Windows.Controls.InkCanvas)(target));
     
     #line 31 "..\..\..\LocalRepository.xaml"
     this.inkCanvas.Gesture += new System.Windows.Controls.InkCanvasGestureEventHandler(this.inkCanvas_Gesture_1);
     
     #line default
     #line hidden
     return;
     case 15:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 16:
     this.imageTrial = ((System.Windows.Controls.Image)(target));
     
     #line 33 "..\..\..\LocalRepository.xaml"
     this.imageTrial.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.image7_ImageFailed);
     
     #line default
     #line hidden
     return;
     case 17:
     this.image7 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #57
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((SkeletalTracking.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));
     return;
     case 4:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 5:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.warningLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.chestEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 11:
     this.headWarning = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.bodyWarning = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.ellipse1 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.kinectColorViewer1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectColorViewer)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.kinectColorViewer1.Loaded += new System.Windows.RoutedEventHandler(this.kinectColorViewer1_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.rightKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.leftKneeEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.headImage = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.hipEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 10:
                this.rightFootEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.leftFootEllipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.kinectSensorChooser1 = ((Microsoft.Samples.Kinect.WpfViewers.KinectSensorChooser)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.kinectSensorChooser1.Loaded += new System.Windows.RoutedEventHandler(this.kinectSensorChooser1_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:
                this.Instructional_Video_Player = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }