コード例 #1
0
        public void MapInput(Gesture gesture, Command command)
        {
            if (gesture == null)
                return;

            if (command == null)
                return;

            _mappings.Add(gesture, command);
            gesture.Gestured += new EventHandler(gesture_Gestured);
        }
コード例 #2
0
 public GestureEventArgs(Gesture gesture)
 {
     Gesture = gesture;
 }