CSKinectSkeletonApplication1.MainWindow.System C# (CSharp) Method

System() private method

private System ( int connectionId, object target ) : void
connectionId int
target object
return void
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.videoImage = ((System.Windows.Controls.Image)(target));
            return;
            case 2:
            this.leftHand = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 3:
            this.elbowleft = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 4:
            this.rightHand = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 5:
            this.elbowright = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 6:
            this.head = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 7:
            this.shoulderleft = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 8:
            this.shoulderright = ((System.Windows.Shapes.Ellipse)(target));
            return;
            case 9:
            this.btnsetTilt = ((System.Windows.Controls.Button)(target));
            
            #line 19 "..\..\..\MainWindow.xaml"
            this.btnsetTilt.Click += new System.Windows.RoutedEventHandler(this.btnsetTilt_Click_1);
            
            #line default
            #line hidden
            return;
            case 10:
            this.txttilt = ((System.Windows.Controls.TextBox)(target));
            return;
            case 11:
            this.TempRightValue = ((System.Windows.Controls.Label)(target));
            return;
            case 12:
            this.Y_Axis = ((System.Windows.Controls.Label)(target));
            return;
            case 13:
            this.X_Axis = ((System.Windows.Controls.Label)(target));
            return;
            case 14:
            this.Direction = ((System.Windows.Controls.Label)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }