private void MyImage2_MouseRightButtonDown(object sender, MouseButtonEventArgs e) { MyPoint = e.GetPosition(this); MyImage2.CaptureMouse(); }
private void MyImage2_MouseRightButtonUp(object sender, MouseButtonEventArgs e) { MyImage2.ReleaseMouseCapture(); MyImage2.Cursor = Cursors.Arrow; }