Пример #1
0
 public GestureEventArgs(TouchScrolling.TouchTool.GestureType aGesture)
 {
     this.m_Gesture = aGesture;
 }
Пример #2
0
 public MouseMoveEventArgs(TouchScrolling.TouchTool.GestureType aGesture, int aMoveX, int aMoveY)
 {
     this.m_Gesture = aGesture;
     this.m_MoveX = aMoveX;
     this.m_MoveY = aMoveY;
 }
Пример #3
0
 private void TouchNavigatorTool_MouseMoveDetected(object sender, TouchScrolling.TouchTool.MouseMoveEventArgs e)
 {
     this.ScrollbarOffset += e.MoveY;
     this.m_ScrollDirection = (e.MoveY >= 0) ? 1 : -1;
     this.Refresh();
 }