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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\MainWindow.xaml"
                this.dtwRead.Click += new System.Windows.RoutedEventHandler(this.DtwReadClick);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\MainWindow.xaml"
                this.dtwCapture.Click += new System.Windows.RoutedEventHandler(this.DtwCaptureClick);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\MainWindow.xaml"
                this.dtwStore.Click += new System.Windows.RoutedEventHandler(this.DtwStoreClick);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\MainWindow.xaml"
                this.dtwLoadFile.Click += new System.Windows.RoutedEventHandler(this.DtwLoadFile);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\MainWindow.xaml"
                this.dtwSaveToFile.Click += new System.Windows.RoutedEventHandler(this.DtwSaveToFile);

            #line default
            #line hidden
                return;

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

            case 9:
                this.TiltSlider = ((System.Windows.Controls.Slider)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.TiltSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.TiltSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.gestureList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.results = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.resultsS = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 15:
                this.status = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.currentBufferFrame = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.kinectStatus = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 22:
                this.faceTrackingViewer = ((DTWGestureRecognition.FaceTrackingViewer)(target));
                return;

            case 23:
                this.faceTracking = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\..\MainWindow.xaml"
                this.faceTracking.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked);

            #line default
            #line hidden
                return;

            case 24:
                this.enableNui = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.seated = ((System.Windows.Controls.CheckBox)(target));

            #line 102 "..\..\..\MainWindow.xaml"
                this.seated.Checked += new System.Windows.RoutedEventHandler(this.seated_Checked);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\MainWindow.xaml"
                this.nearTracking.Checked += new System.Windows.RoutedEventHandler(this.nearTracking_Checked);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\..\MainWindow.xaml"
                this.faceOrientation.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.faceOrientation_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.faceMesh = ((System.Windows.Controls.CheckBox)(target));

            #line 105 "..\..\..\MainWindow.xaml"
                this.faceMesh.Checked += new System.Windows.RoutedEventHandler(this.faceMesh_checked);

            #line default
            #line hidden
                return;

            case 29:
                this.captureBody = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.captureBodyS = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 31:
                this.captureFace = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 32:
                this.captureFaceS = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 34:
                this.RecognizedSpeech = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.captureFaceO = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.captureHandS = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 37:
                this.captureHand = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 38:
                this.handGestureText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.handStaticGesture = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.faceDynamicOrientation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.faceOrientationText = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 44:
                this.enableHandTracking = ((System.Windows.Controls.CheckBox)(target));

            #line 122 "..\..\..\MainWindow.xaml"
                this.enableHandTracking.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked_2);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\..\MainWindow.xaml"
                this.dtwRead.Click += new System.Windows.RoutedEventHandler(this.DtwReadClick);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\MainWindow.xaml"
                this.dtwCapture.Click += new System.Windows.RoutedEventHandler(this.DtwCaptureClick);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\MainWindow.xaml"
                this.dtwStore.Click += new System.Windows.RoutedEventHandler(this.DtwStoreClick);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\MainWindow.xaml"
                this.dtwLoadFile.Click += new System.Windows.RoutedEventHandler(this.DtwLoadFile);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\MainWindow.xaml"
                this.dtwSaveToFile.Click += new System.Windows.RoutedEventHandler(this.DtwSaveToFile);

            #line default
            #line hidden
                return;

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

            case 9:
                this.TiltSlider = ((System.Windows.Controls.Slider)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.TiltSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.TiltSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.gestureList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.results = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.status = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\..\MainWindow.xaml"
                this.test2.Click += new System.Windows.RoutedEventHandler(this.test_Click2);

            #line default
            #line hidden
                return;

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

            case 18:
                this.skeletonCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 21:
                this.faceTrackingViewer = ((DTWGestureRecognition.FaceTrackingViewer)(target));
                return;

            case 22:
                this.captureBody = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.captureHand = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 25:
                this.handStaticGesture = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }