private void TargetImage_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     if (_mouseCaptured)
     {
         TargetImage.ReleaseMouseCapture();
         _mouseCaptured = false;
     }
     if (!_drawingChanged)
     {
         return;
     }
     _drawingChanged = false;
     _drawingManager.Record();
 }
예제 #2
0
 private void TargetImage_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     _isMousePressed = false;
     TargetImage.ReleaseMouseCapture();
 }