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