private void RelayoutContentPageView(bool isFull)
        {
            if (!isFull)
            {
                CGSize newSize = BackgroudView.Frame.Size;
                newSize.Width  -= sidebarViewWidth;
                newSize.Height -= FunctionButtonView.Frame.Size.Height;

                nfloat xstart = sidebarViewWidth;

//				if (newSize.Width > CONTENTPAGE_WIDTH) {
//					xstart += (newSize.Width - CONTENTPAGE_WIDTH) / 2;
//					newSize.Width = CONTENTPAGE_WIDTH;
//				}
                BookContentView.SetFrameSize(newSize);
                BookContentView.SetFrameOrigin(new CGPoint(xstart, 0));
            }
            else
            {
                CGSize newSize = BackgroudView.Frame.Size;
                newSize.Height -= FunctionButtonView.Frame.Size.Height;
                nfloat xstart = 0;
//				if (newSize.Width > CONTENTPAGE_WIDTH) {
//					xstart = (newSize.Width-CONTENTPAGE_WIDTH)/2;
//					newSize.Width = CONTENTPAGE_WIDTH;
//				}
                BookContentView.SetFrameSize(newSize);
                BookContentView.SetFrameOrigin(new CGPoint(xstart, 0));
            }
        }
 void RelayoutAnnotaionView(bool isShow)
 {
     if (isShow)
     {
         CGSize viewSize = AnnotationView.Frame.Size;
         CGSize newSize  = BookContentView.Frame.Size;
         newSize.Width -= viewSize.Width;
         BookContentView.SetFrameSize(newSize);
         BookContentView.SetFrameOrigin(new CGPoint(viewSize.Width, 0));
     }
     else
     {
         CGSize newSize = BackgroudView.Frame.Size;
         newSize.Height -= FunctionButtonView.Frame.Size.Height;
         BookContentView.SetFrameSize(newSize);
         BookContentView.SetFrameOrigin(new CGPoint(0, 0));
     }
 }
        void RelayoutIndexCustomView(bool isShow)
        {
            if (isShow)
            {
                CGSize indexViewSize = IndexCustomView.Frame.Size;

                CGSize newSize = BackgroudView.Frame.Size;
                newSize.Width  -= indexViewSize.Width;
                newSize.Height -= FunctionButtonView.Frame.Size.Height;

                nfloat xstart = indexViewSize.Width;

                if (newSize.Width > CONTENTPAGE_WIDTH)
                {
                    xstart       += (newSize.Width - CONTENTPAGE_WIDTH) / 2;
                    newSize.Width = CONTENTPAGE_WIDTH;
                }

                BookContentView.SetFrameSize(newSize);
                BookContentView.SetFrameOrigin(new CGPoint(xstart, 0));
            }
            else
            {
                CGSize newSize = BackgroudView.Frame.Size;
                newSize.Height -= FunctionButtonView.Frame.Size.Height;
                nfloat xstart = 0;
                if (newSize.Width > CONTENTPAGE_WIDTH)
                {
                    xstart        = (newSize.Width - CONTENTPAGE_WIDTH) / 2;
                    newSize.Width = CONTENTPAGE_WIDTH;
                }

                BookContentView.SetFrameSize(newSize);
                BookContentView.SetFrameOrigin(new CGPoint(xstart, 0));
            }
        }