private void Gestures_GestureRecognized(object sender, GestureEventArgs e)
        {
            /*if(e.GestureType == GestureType.RightUp)
            {
                this.GestureRecognized(this, e);
                //Mouse down
            }
            else if(e.GestureType == GestureType.LeftUp)
            {
                this.GestureRecognized(this, e);
                //Mouse down
            }
            else if (e.GestureType == GestureType.RightSwipe)
            {
                this.GestureRecognized(this, e);
                //press correct key spin CCW
            }
            else if (e.GestureType == GestureType.LeftSwipe)
            {
                this.GestureRecognized(this, e);
                //press correct key spin clockwise
            }
            
            else if (e.GestureType == GestureType.SwipeDown)
            {
                this.GestureRecognized(this, e);
                //whatever goes here
            }*/

            if (this.GestureRecognized != null)
            {
                this.GestureRecognized(this, e);
            }
        }
        private void Gesture_GestureRecognized(object sender, GestureEventArgs e)
        {
            if (this.GestureRecognized != null)
            {
                this.GestureRecognized(this, e);
            }

            foreach (Gesture g in this.gestures)
            {
                g.Reset();
            }
        }
        private void GestureRecognized(object sender, GestureEventArgs e)
        {
            if (e.GestureType == GestureType.RightUp)
            {
                
                rightHandUpGestureResult = GesturePartResult.Succeed;
                //Mouse down
            }
            else if (e.GestureType == GestureType.LeftUp)
            {
                
                leftHandUpGestureResult = GesturePartResult.Succeed;
                //Mouse down
            }
            else if (e.GestureType == GestureType.RightSwipe)
            {
                
                swipeRightSegment2Result = GesturePartResult.Succeed;
                //press correct key spin CCW
            }
            else if (e.GestureType == GestureType.LeftSwipe)
            {
                
                swipeLeftSegment2Result = GesturePartResult.Succeed;
                //press correct key spin clockwise
            }

            else if (e.GestureType == GestureType.SwipeDown)
            {
                
                swipeDownResult = GesturePartResult.Succeed;
                //whatever goes here
            }

        }