Esempio n. 1
0
 private void MovePointerDuringReposition(int i, int j)
 {
     EpPointer.SetValue(Canvas.LeftProperty, (double)(i - 3));
     EpPointer.SetValue(Canvas.TopProperty, (double)(j - 3));
     EpPointer.InvalidateVisual();
     CanvasColor.InvalidateVisual();
 }
Esempio n. 2
0
 private void MovePointer()
 {
     EpPointer.SetValue(Canvas.LeftProperty, (double)(Mouse.GetPosition(CanvasColor).X - 5));
     EpPointer.SetValue(Canvas.TopProperty, (double)(Mouse.GetPosition(CanvasColor).Y - 5));
     CanvasColor.InvalidateVisual();
 }