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

            case 2:
                this.tblAngle = ((System.Windows.Documents.Run)(target));
                return;

            case 3:
                this.tblGesture = ((System.Windows.Documents.Run)(target));
                return;

            case 4:
                this.ArmRaiseCount = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 6:
                this.angle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

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

            #line 11 "..\..\..\..\Pages\ArmRaisesPage.xaml"
                ((KinectPT.ArmRaisesPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\Pages\ArmRaisesPage.xaml"
                ((KinectPT.ArmRaisesPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.tblAngle = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.ArmRaiseCount = ((System.Windows.Documents.Run)(target));
                return;

            case 6:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 7:
                this.leftArmAngle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 8:
                this.rightArmAngle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

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

            #line 10 "..\..\AnglePage.xaml"
                ((LightBuzz.Vituvius.Samples.WPF.AnglePage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\AnglePage.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.tblAngle1 = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.tblAngle2 = ((System.Windows.Documents.Run)(target));
                return;

            case 6:
                this.tblAngle3 = ((System.Windows.Documents.Run)(target));
                return;

            case 7:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 8:
                this.angle1 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 9:
                this.angle2 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 10:
                this.angle3 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 2:
                this.AngleLeftElbow = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 3:
                this.AngleLeftShoulder = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 4:
                this.AngleRightElbow = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 5:
                this.AngleRightShoulder = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 6:
                this.AngleLeftWrist = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 7:
                this.AngleRightWrist = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.Start_data_rec);

            #line default
            #line hidden
                return;

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

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

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

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

            case 16:
                this.depthviewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }