private void Initialize() { List <ListItem <int> > stateList = new List <ListItem <int> >(); this.pagePara1 = new GetShopBenefitReportsPara(); dataGridViewPagingSumCtrl.SetDataSource <DayBenefitReportDetail>(null); dataGridViewPagingSumCtrl1.SetDataSource <RechargeRecord>(null); }
private void Initialize() { List <ListItem <int> > stateList = new List <ListItem <int> >(); DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End); CommonGlobalUtil.SetTime(skinComboBox_Time); this.pagePara1 = new GetShopBenefitReportsPara(); this.dataGridViewPagingSumCtrl.SetDataSource <DayBenefitReport>(null); this.skinSplitContainer1.Panel2Collapsed = true; }
private void BaseButton_Search_Click(object sender, EventArgs e) { if (isMonth) { startDate = TimeHelper.GetReportMonth(this.dateTimePicker_Start.Value); endDate = TimeHelper.GetReportMonth(this.dateTimePicker_End.Value); } else { startDate = TimeHelper.GetReportDay(this.dateTimePicker_Start.Value); endDate = TimeHelper.GetReportDay(this.dateTimePicker_End.Value); } this.pagePara1 = new GetShopBenefitReportsPara() { IsPos = IsPos, StartDate = startDate, EndDate = endDate, IsGetGeneralStore = CommonGlobalCache.IsGeneralStoreRetail == "1", ShopID = IsPos ? CommonGlobalCache.CurrentShopID : null }; Search(null, null); }