Example #1
0
 // Press the mouse on canvas
 public void HandleCanvasPressed(object sender, PointerRoutedEventArgs e)
 {
     _model.GetPointerPressed(e.GetCurrentPoint(_canvas).Position.X, e.GetCurrentPoint(_canvas).Position.Y);
     RefreshControl();
 }
Example #2
0
 // Press the mouse on canvas
 public void HandleCanvasPressed(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     _model.GetPointerPressed(e.X, e.Y);
     RefreshControl();
 }