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

                this.pagePara1 = new BrandBenefitMonthReportsPara()
                {
                    //BrandName = (int)this.skinComboBox_Brand.SelectedValue == -1 ? String.Empty : (this.skinComboBox_Brand.SelectedItem as Brand).Name,
                    IsPos            = IsPos,
                    StartReportMonth = int.Parse(this.dateTimePicker_Start.Value.ToString(CommonGlobalUtil.DEFAULT_SHORT_MONTH_FORMAT)),
                    EndReportMonth   = int.Parse(this.dateTimePicker_End.Value.ToString(CommonGlobalUtil.DEFAULT_SHORT_MONTH_FORMAT)),
                    ShopID           = !String.IsNullOrEmpty(shopID) ? shopID : SystemDefault.Report_Summary
                };
                List <BrandBenefitMonthReport> listPage = CommonGlobalCache.ServerProxy.GetBrandBenefitMonthReports(this.pagePara1);

                this.BindingSource(this.dataGridView1, listPage);
            }
            catch (Exception ee)
            {
                CommonGlobalUtil.ShowError(ee);
            }
            finally
            {
                CommonGlobalUtil.UnLockPage(this);
            }
        }
        private void Initialize()
        {
            isInitialized = false;
            List <ListItem <int> > stateList = new List <ListItem <int> >();

            CommonGlobalUtil.SetStartEndForMonth(dateTimePicker_Start, dateTimePicker_End);
            this.pagePara1 = new BrandBenefitMonthReportsPara();
            this.dataGridView1.DataSource = null;
            CommonGlobalUtil.SetShop(skinComboBox_Shop);
            this.skinSplitContainer1.Panel2Collapsed = true;
            if (IsPos)
            {
                skinComboBox_Shop.Enabled       = false;
                skinComboBox_Shop.SelectedValue = CommonGlobalCache.CurrentShopID;
            }
        }