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