protected override void OnDestroyed() { StopAllAnimations(); base.OnDestroyed(); resizeCursor.Dispose(); handCursor.Dispose(); }
protected override void OnDestroyed() { base.OnDestroyed(); if (resizeCursor != null) { resizeCursor.Dispose(); resizeCursor = null; } }
protected override void OnDestroyed() { view.MotionNotifyEvent -= HandleImageViewMotion; view.Item.Changed -= HandleItemChanged; view.ZoomChanged -= HandleViewZoomChanged; opened_hand_cursor.Dispose(); closed_hand_cursor.Dispose(); opened_hand_cursor = null; closed_hand_cursor = null; base.OnDestroyed(); }