Inheritance: System.EventArgs
        private void OnSkeletonFrameRead(int trackingId, Dictionary <JointType, ScaledJoint> scaledSkeleton, long timestamp)
        {
            var args = new SkeletonReadEventArgs(trackingId, scaledSkeleton, timestamp);

            if (OnSkeletonRead != null)
            {
                OnSkeletonRead(this, args);
            }
        }
        private void OnSkeletonRead(object sender, SkeletonReadEventArgs e)
        {
            if (e.SkeletonId != _lastSkeletonId)
                _currentAppState.ResetSkeleton();

            _lastSkeletonId = e.SkeletonId;
            _lastSkeleton = e.Skeleton;

            UpdateListeners();
        }
        private void OnSkeletonRead(object sender, SkeletonReadEventArgs e)
        {
            if (e.SkeletonId != _lastSkeletonId)
            {
                _currentAppState.ResetSkeleton();
            }

            _lastSkeletonId = e.SkeletonId;
            _lastSkeleton   = e.Skeleton;

            UpdateListeners();
        }
 private void OnSkeletonFrameRead(int trackingId, Dictionary<JointType, ScaledJoint> scaledSkeleton, long timestamp)
 {
     var args = new SkeletonReadEventArgs(trackingId, scaledSkeleton, timestamp);
     if (OnSkeletonRead != null)
         OnSkeletonRead(this, args);
 }