Beispiel #1
0
        private void Initialize()
        {
            List <ListItem <int> > stateList = new List <ListItem <int> >();

            //  DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
            this.dataGridView1.DataSource          = null; this.pagePara = new DayReportPagePara();
            this.dataGridView1.AutoGenerateColumns = false;
            SetDisplay();
        }
Beispiel #2
0
 private void BaseButton_Search_Click(object sender, EventArgs e)
 {
     this.pagePara = new DayReportPagePara()
     {
         Ascend        = false,
         ColumnOrderby = DayReport._ReportDate,
         StartDate     = new CJBasic.Date(this.dateTimePicker_Start.Value),
         EndDate       = new CJBasic.Date(this.dateTimePicker_Start.Value),
         PageIndex     = 0,
         PageSize      = this.dataGridViewPagingSumCtrl.PageSize,
         ShopID        = shopID
     };
     dataGridViewPagingSumCtrl.OrderPara = pagePara;
     Search(null, null);
 }