private void ZoomCanvas_MouseRightUp(object sender, MouseButtonEventArgs e) { ZoomCanvas.MouseLeftButtonUp -= ZoomCanvas_MouseLeftButtonUp; ZoomCanvas.MouseMove -= ZoomCanvas_MouseMove; ZoomCanvas.MouseRightButtonUp -= ZoomCanvas_MouseRightUp; ClearAuxiliaryLine(); ZoomCanvas.Cursor = Cursors.Arrow; _curSelectDot.DestroyDot(); }