/// <summary>
        ///     换页操作
        /// </summary>
        /// <param name="pageChangeMode"></param>
        /// <param name="mDataViewInfo"></param>
        /// <param name="dataShower"></param>
        public static void PageChanged(PageChangeOpr pageChangeMode, ref DataViewInfo mDataViewInfo,
                                       List <Control> dataShower)
        {
            switch (pageChangeMode)
            {
            case PageChangeOpr.FirstPage:
                mDataViewInfo.SkipCnt = 0;
                break;

            case PageChangeOpr.LastPage:
                if (mDataViewInfo.CurrentCollectionTotalCnt % mDataViewInfo.LimitCnt == 0)
                {
                    //没有余数的时候,600 % 100 == 0  => Skip = 600-100 = 500
                    mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt - mDataViewInfo.LimitCnt;
                }
                else
                {
                    // 630 % 100 == 30  => Skip = 630-30 = 600
                    mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt -
                                            mDataViewInfo.CurrentCollectionTotalCnt % mDataViewInfo.LimitCnt;
                }
                break;

            case PageChangeOpr.NextPage:
                mDataViewInfo.SkipCnt += mDataViewInfo.LimitCnt;
                if (mDataViewInfo.SkipCnt >= mDataViewInfo.CurrentCollectionTotalCnt)
                {
                    mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt - 1;
                }
                break;

            case PageChangeOpr.PrePage:
                mDataViewInfo.SkipCnt -= mDataViewInfo.LimitCnt;
                if (mDataViewInfo.SkipCnt < 0)
                {
                    mDataViewInfo.SkipCnt = 0;
                }
                break;

            default:
                break;
            }
            List <BsonDocument> datalist = GetDataList(ref mDataViewInfo);

            FillDataToControl(datalist, dataShower, mDataViewInfo);
        }
 /// <summary>
 /// 换页操作
 /// </summary>
 /// <param name="IsNext"></param>
 /// <param name="strTag"></param>
 /// <param name="dataShower"></param>
 public static void PageChanged(PageChangeOpr pageChangeMode, string strTag, List<Control> dataShower)
 {
     switch (pageChangeMode)
     {
         case PageChangeOpr.FirstPage:
             SkipCnt = 0;
             break;
         case PageChangeOpr.LastPage:
             if (CurrentCollectionTotalCnt % SystemManager.ConfigHelperInstance.LimitCnt == 0)
             {
                 //没有余数的时候,600 % 100 == 0  => Skip = 600-100 = 500
                 SkipCnt = CurrentCollectionTotalCnt - SystemManager.ConfigHelperInstance.LimitCnt;
             }
             else
             {
                 // 630 % 100 == 30  => Skip = 630-30 = 600
                 SkipCnt = CurrentCollectionTotalCnt - CurrentCollectionTotalCnt % SystemManager.ConfigHelperInstance.LimitCnt;
             }
             break;
         case PageChangeOpr.NextPage:
             SkipCnt += SystemManager.ConfigHelperInstance.LimitCnt;
             break;
         case PageChangeOpr.PrePage:
             SkipCnt -= SystemManager.ConfigHelperInstance.LimitCnt;
             break;
         default:
             break;
     }
     FillDataToControl(strTag, dataShower);
 }
 /// <summary>
 /// 换页操作
 /// </summary>
 /// <param name="IsNext"></param>
 /// <param name="strTag"></param>
 /// <param name="dataShower"></param>
 public static void PageChanged(PageChangeOpr pageChangeMode, ref DataViewInfo mDataViewInfo, List<Control> dataShower)
 {
     switch (pageChangeMode)
     {
         case PageChangeOpr.FirstPage:
             mDataViewInfo.SkipCnt = 0;
             break;
         case PageChangeOpr.LastPage:
             if (mDataViewInfo.CurrentCollectionTotalCnt % mDataViewInfo.LimitCnt == 0)
             {
                 //没有余数的时候,600 % 100 == 0  => Skip = 600-100 = 500
                 mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt - mDataViewInfo.LimitCnt;
             }
             else
             {
                 // 630 % 100 == 30  => Skip = 630-30 = 600
                 mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt - mDataViewInfo.CurrentCollectionTotalCnt % mDataViewInfo.LimitCnt;
             }
             break;
         case PageChangeOpr.NextPage:
             mDataViewInfo.SkipCnt += mDataViewInfo.LimitCnt;
             if (mDataViewInfo.SkipCnt >= mDataViewInfo.CurrentCollectionTotalCnt)
             {
                 mDataViewInfo.SkipCnt = mDataViewInfo.CurrentCollectionTotalCnt - 1;
             }
             break;
         case PageChangeOpr.PrePage:
             mDataViewInfo.SkipCnt -= mDataViewInfo.LimitCnt;
             if (mDataViewInfo.SkipCnt < 0)
             {
                 mDataViewInfo.SkipCnt = 0;
             }
             break;
         default:
             break;
     }
     List<BsonDocument> datalist = MongoDBHelper.GetDataList(ref mDataViewInfo);
     MongoDBHelper.FillDataToControl(datalist, dataShower, mDataViewInfo);
 }