예제 #1
0
        public void Remove()
        {
            RemoveFromSuperview();
            RemoveGestureRecognizer(DragGesture);
            RemoveGestureRecognizer(DoubleTapGesture);
            RemoveGestureRecognizer(DoubleTapTwoFigersGesture);
            RemoveGestureRecognizer(LongPressGesture);
            RemoveGestureRecognizer(PinchGesture);

            DeleteButton.TouchUpInside        -= DeleteButton_TouchUpInside;
            OkButton.TouchUpInside            -= OkButton_TouchUpInside;
            EditSignatureButton.TouchUpInside -= EditSignatureButton_TouchUpInside;

            DeleteButton.RemoveFromSuperview();
            OkButton.RemoveFromSuperview();
            EditSignatureButton.RemoveFromSuperview();

            Dispose();
        }