public virtual void MouseDragged(LTouch e) { if (isLock || isClose || !isLoad) { return; } if (isTranslate) { e.Offset(tx, ty); } if (useScreenListener) { foreach (ScreenListener t in screens) { t.Drag(e); } } this.touchX = e.X(); this.touchY = e.Y(); if (!IsClickLimit(e)) { TouchDrag(e); } }
public virtual void MouseMoved(LTouch e) { if (isLock || isClose || !isLoad) { return; } if (isTranslate) { e.Offset(tx, ty); } if (useTouchListener) { foreach (TouchListener t in touchs) { t.move(e); } } this.touchX = e.X(); this.touchY = e.Y(); if (!IsClickLimit(e)) { TouchMove(e); } }