Ejemplo n.º 1
0
        private void ThumbCrop_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            ThumbCrop thumb = sender as ThumbCrop;

            thumb?.CaptureMouse();
        }
Ejemplo n.º 2
0
        private void ThumbCrop_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            ThumbCrop thumb = sender as ThumbCrop;

            thumb?.ReleaseMouseCapture();
        }