Esempio n. 1
0
 private void SecondPicture_PreviewMouseUp(object sender, MouseButtonEventArgs e)
 {
     _movePoint2 = null;
     SecondPicture.ReleaseMouseCapture();
 }
Esempio n. 2
0
 private void SecondPicture_PreviewMouseDown(object sender, MouseButtonEventArgs e)
 {
     _movePoint2 = e.GetPosition(SecondPicture);
     SecondPicture.CaptureMouse();
 }