// Move the mouse on canvas public void HandleCanvasMoved(object sender, PointerRoutedEventArgs e) { _model.GetPointerMoved(e.GetCurrentPoint(_canvas).Position.X, e.GetCurrentPoint(_canvas).Position.Y); RefreshControl(); }
// Move the mouse on canvas public void HandleCanvasMoved(object sender, System.Windows.Forms.MouseEventArgs e) { _model.GetPointerMoved(e.X, e.Y); RefreshControl(); }