예제 #1
0
 public virtual void HandleEndPointerSequence(PointerEventInfo info)
 {
     if (_parent != null)
     {
         _parent.HandleEndPointerSequence(info);
     }
 }
예제 #2
0
        public void TargetMouseUp(object sender, MouseEventArgs e)
        {
            PointerEventType type = GetPointerType(e.Button);

            if (_responder == null || type == PointerEventType.None)
            {
                return;
            }

            Point            position = TranslatePosition(e.Location);
            PointerEventInfo info     = new PointerEventInfo(type, position.X, position.Y);

            if (_sequenceOpen[info.Type])
            {
                _sequenceOpen[info.Type] = false;
                _responder.HandleEndPointerSequence(info);
            }
        }