Ejemplo n.º 1
0
 public override void OnMove(PointEventArgs p)
 {
     if (downControl != null)
     {
         downControl.OnMove(this.TranslatePoint(downControl, p));
     }
 }
Ejemplo n.º 2
0
        protected override void OnMouseMove(MouseEventArgs e)
        {
            if (control == null)
            {
                return;
            }
            movePoint = new Point(e.X, e.Y);
            int tick = Environment.TickCount;

            control.OnMove(TranslatePoint(e.X, e.Y));
            Gesture = RecognizeGesture(e.X, e.Y, tick, lastGesture);
        }