//点击搜索按钮
        private void BaseButton_Search_Click(object sender, EventArgs e)
        {
            try
            {
                if (CommonGlobalUtil.EngineUnconnectioned(this))
                {
                    return;
                }


                this.pagePara = new GetConfusedStoreAdjustRecordPagePara()
                {
                    CostumeID = skinTextBox_costumeID.Text,
                    ShopID    = ValidateUtil.CheckEmptyValue(skinComboBoxShopID.SelectedValue),
                    PageIndex = 0,
                    PageSize  = this.dataGridViewPagingSumCtrl.PageSize,
                };
                ConfusedStoreAdjustRecordPage listPage = CommonGlobalCache.ServerProxy.GetConfusedStoreAdjustRecordPage(this.pagePara);
                dataGridViewPagingSumCtrl.OrderPara = pagePara;
                this.dataGridViewPagingSumCtrl.Initialize(listPage);
                this.BindingConfusedStoreAdjustRecordDateSource(listPage);
            }
            catch (Exception ee)
            {
                ShowError(ee);
            }
            finally
            {
                UnLockPage();
            }
        }
 private void dataGridViewPagingSumCtrl_CurrentPageIndexChanged(int index)
 {
     try
     {
         if (this.pagePara == null)
         {
             return;
         }
         this.pagePara.PageIndex = index;
         ConfusedStoreAdjustRecordPage listPage = CommonGlobalCache.ServerProxy.GetConfusedStoreAdjustRecordPage(this.pagePara);
         this.BindingConfusedStoreAdjustRecordDateSource(listPage);
     }
     catch (Exception ee)
     {
         CommonGlobalUtil.ShowError(ee);
     }
 }
        /// <summary>
        /// 绑定ConfusedStoreAdjustRecordList源到dataGridView 中
        /// </summary>
        /// <param name="ConfusedStoreAdjustRecordListPage"></param>
        private void BindingConfusedStoreAdjustRecordDateSource(ConfusedStoreAdjustRecordPage listPage)
        {
            this.dataGridView1.DataSource = null;
            if (listPage != null && listPage.ConfusedStoreAdjustRecords != null && listPage.ConfusedStoreAdjustRecords.Count > 0)
            {
                this.SetConfusedStoreAdjustRecordOtherValue(listPage.ConfusedStoreAdjustRecords);


                foreach (var item in listPage.ConfusedStoreAdjustRecords)
                {
                    item.SizeDisplayName1 = CommonGlobalUtil.GetCostumeSizeName(item.CostumeID, item.SizeName1);
                    item.SizeDisplayName2 = CommonGlobalUtil.GetCostumeSizeName(item.CostumeID, item.SizeName2);
                }


                // this.dataGridView1.DataSource = listPage.ConfusedStoreAdjustRecords;
                dataGridViewPagingSumCtrl.BindingDataSource(listPage?.ConfusedStoreAdjustRecords, null, listPage?.TotalEntityCount);
            }
            this.dataGridView1.Refresh();
        }