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