예제 #1
0
 protected override void OnDestroyed()
 {
     StopAllAnimations();
     base.OnDestroyed();
     resizeCursor.Dispose();
     handCursor.Dispose();
 }
예제 #2
0
 protected override void OnDestroyed()
 {
     base.OnDestroyed();
     if (resizeCursor != null)
     {
         resizeCursor.Dispose();
         resizeCursor = null;
     }
 }
예제 #3
0
        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();
        }