Пример #1
0
        }// end miniPadForm constructor

        void mo_Gesture(object sender, InkCollectorGestureEventArgs e)
        {
            ApplicationGesture gestureID = e.Gestures[0].Id;
            string             location  = e.Gestures[0].HotPoint.ToString();


            System.Windows.Forms.MessageBox.Show("Your gesture was: " + gestureID.ToString() + " at " + location);
            switch (gestureID)
            {
            case ApplicationGesture.ArrowDown:
                pptController.nextSlide();
                break;

            case ApplicationGesture.ArrowUp:
                pptController.prevSlide();
                break;

            case ApplicationGesture.ChevronDown:
                pptController.newSlide();
                break;

            default:
                break;
            }
        } // end mo_gesture method
Пример #2
0
 void DrawingCanvas_Gesture(ApplicationGesture Gestrue)
 {
     System.Diagnostics.Debug.WriteLine(Gestrue.ToString());
 }
Пример #3
0
 void DrawingCanvas_Gesture(ApplicationGesture Gestrue)
 {
     System.Diagnostics.Debug.WriteLine(Gestrue.ToString());
 }