private void Example_GestureChanged(object sender, GestureChangedEventArgs args)
        {
            this.gesturesCount++;
            string newEntry = string.Format("{0}. {1}", this.gesturesCount, args.GestureName);
            this.gestures.Add(newEntry);

            while (this.gestures.Count > 20)
            {
                this.gestures.RemoveAt(0);
            }

            this.listBoxGestures.ScrollIntoView(newEntry);
        }
 private void RaiseGestureChanged(string gestureName)
 {
     GestureChangedEventArgs newEventArgs = new GestureChangedEventArgs(gestureName);
     this.RaiseEvent(newEventArgs);
 }