void ReleaseDesignerOutlets()
        {
            if (BanManProImageView != null)
            {
                BanManProImageView.Dispose();
                BanManProImageView = null;
            }

            if (PageIndicator != null)
            {
                PageIndicator.Dispose();
                PageIndicator = null;
            }
        }
コード例 #2
0
        public override void ViewDidDisappear(bool animated)
        {
            base.ViewDidDisappear(animated);

            BanManProImageView.RemoveGestureRecognizer(tapGesture1);
        }
コード例 #3
0
        public override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            BanManProImageView.AddGestureRecognizer(tapGesture1);
        }