Example #1
0
 //HandleCanvasMoved
 public void HandleCanvasMoved(object sender, MouseEventArgs e)
 {
     _model.MovePointer(e.X, e.Y);
 }
 //HandleCanvasMoved
 public void HandleCanvasMoved(object sender, PointerRoutedEventArgs e)
 {
     _model.MovePointer(e.GetCurrentPoint(_canvas).Position.X, e.GetCurrentPoint(_canvas).Position.Y);
 }
Example #3
0
 //pointer moved
 public void HandleCanvasMoved(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     _model.MovePointer(e.Location.X, e.Location.Y);
 }