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

            if (BoxArrowRight != null)
            {
                BoxArrowRight.Dispose();
                BoxArrowRight = null;
            }

            if (containerView != null)
            {
                containerView.Dispose();
                containerView = null;
            }

            if (imageArrowLeft != null)
            {
                imageArrowLeft.Dispose();
                imageArrowLeft = null;
            }

            if (imageArrowRight != null)
            {
                imageArrowRight.Dispose();
                imageArrowRight = null;
            }

            if (imgFullScreen != null)
            {
                imgFullScreen.Dispose();
                imgFullScreen = null;
            }

            if (pageControlBottom != null)
            {
                pageControlBottom.Dispose();
                pageControlBottom = null;
            }

            if (pageControlTop != null)
            {
                pageControlTop.Dispose();
                pageControlTop = null;
            }
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            BoxArrowLeft.ClipsToBounds      = true;
            BoxArrowLeft.Layer.CornerRadius = BoxArrowLeft.Frame.Width / 2;

            BoxArrowRight.ClipsToBounds      = true;
            BoxArrowRight.Layer.CornerRadius = BoxArrowRight.Frame.Width / 2;

            BoxArrowLeft.Layer.MasksToBounds = false;
            BoxArrowLeft.Layer.ShadowRadius  = 5;
            BoxArrowLeft.Layer.ShadowColor   = UIColor.Gray.CGColor;
            BoxArrowLeft.Layer.ShadowOpacity = 0.2f;
            BoxArrowLeft.Layer.ShadowOffset  = new SizeF();

            BoxArrowRight.Layer.MasksToBounds = false;
            BoxArrowRight.Layer.ShadowRadius  = 5;
            BoxArrowRight.Layer.ShadowColor   = UIColor.Gray.CGColor;
            BoxArrowRight.Layer.ShadowOpacity = 0.2f;
            BoxArrowRight.Layer.ShadowOffset  = new SizeF();

            UITapGestureRecognizer tapNext = new UITapGestureRecognizer(() => {
                try
                {
                    if (CurrentIndex < baseViewControllers.Count - 1)
                    {
                        CurrentIndex += 1;
                        pageViewController.SetViewControllers(new UIViewController[] { baseViewControllers[CurrentIndex] }, UIPageViewControllerNavigationDirection.Forward, true, null);
                        SetCurrentIndicatorPage(CurrentIndex);
                    }
                }
                catch (Exception ex)
                {
                    Debug.WriteLine(ex.StackTrace);
                }
            });

            tapNext.NumberOfTapsRequired         = 1;
            BoxArrowRight.UserInteractionEnabled = true;
            BoxArrowRight.AddGestureRecognizer(tapNext);

            UITapGestureRecognizer tapPrevious = new UITapGestureRecognizer(() => {
                try
                {
                    if (CurrentIndex > 0)
                    {
                        CurrentIndex -= 1;
                        pageViewController.SetViewControllers(new UIViewController[] { baseViewControllers[CurrentIndex] }, UIPageViewControllerNavigationDirection.Reverse, true, null);
                        SetCurrentIndicatorPage(CurrentIndex);
                    }
                }
                catch (Exception ex)
                {
                    Debug.WriteLine(ex.StackTrace);
                }
            });

            tapPrevious.NumberOfTapsRequired    = 1;
            BoxArrowLeft.UserInteractionEnabled = true;
            BoxArrowLeft.AddGestureRecognizer(tapPrevious);

            ConfigStyle();
            InitSource();
        }