private void BaseButton_Search_Click(object sender, EventArgs e)
        {
            try
            {
                if (CommonGlobalUtil.EngineUnconnectioned(this))
                {
                    return;
                }

                this.pagePara1 = new BrandBenefitDayReportsPara()
                {
                    //   BrandName = (int)this.skinComboBox_Brand.SelectedValue == -1 ? String.Empty : (this.skinComboBox_Brand.SelectedItem as Brand).Name ,
                    IsPos           = IsPos,
                    StartReportDate = int.Parse(this.dateTimePicker_Start.Value.ToString(CommonGlobalUtil.DEFAULT_SHORT_DATE_FORMAT)),
                    EndReportDate   = int.Parse(this.dateTimePicker_End.Value.ToString(CommonGlobalUtil.DEFAULT_SHORT_DATE_FORMAT)),
                    ShopID          = !String.IsNullOrEmpty(shopID)? shopID : SystemDefault.Report_Summary
                };
                List <BrandBenefitDayReport> listPage = CommonGlobalCache.ServerProxy.GetBrandBenefitDayReports(this.pagePara1);
                this.BindingSource(this.dataGridView1, listPage);
            }
            catch (Exception ee)
            {
                CommonGlobalUtil.ShowError(ee);
            }
            finally
            {
                CommonGlobalUtil.UnLockPage(this);
            }
        }
        private void Initialize()
        {
            List <ListItem <int> > stateList = new List <ListItem <int> >();

            CommonGlobalUtil.SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
            this.pagePara1 = new BrandBenefitDayReportsPara();
            this.dataGridView1.DataSource = null;

            this.skinSplitContainer1.Panel2Collapsed = true;
            CommonGlobalUtil.SetShop(skinComboBox_Brand);
            foreach (DataGridViewColumn item in dataGridView1.Columns)
            {
                item.SortMode = DataGridViewColumnSortMode.Programmatic;
            }

            if (IsPos)
            {
                skinComboBox_Brand.Enabled       = false;
                skinComboBox_Brand.SelectedValue = CommonGlobalCache.CurrentShopID;
            }
        }