Exemplo n.º 1
0
        public void Initialize()
        {
            if (skinSplitContainer1 != null)
            {
                skinSplitContainer1.Panel2Collapsed = true;
            }

            if (CommonGlobalCache.BusinessAccount != null && CommonGlobalCache.BusinessAccount.OnlineEnabled)
            {
                dataGridViewPagingSumCtrl.RemoveNotShowInColumnSettings(CarriageCost);
            }
            else
            {
                dataGridViewPagingSumCtrl.AppendNotShowInColumnSettings(CarriageCost);
            }

            createTimeDataGridViewTextBoxColumn.DefaultCellStyle.Format = DateTimeUtil.DEFAULT_DATETIME_FORMAT;
            if (dataGridViewPagingSumCtrl != null)
            {
                dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting;
                dataGridViewPagingSumCtrl.Clear();
            }
            this.dataGridView_RetailDetail.DataSource = null;
            this.pagePara = new RetailListPagePara();
            SetRetailOrderLabel(null);
        }
 public void Initialize()
 {
     dataGridViewPagingSumCtrl.Clear();
     this.dataGridView_RetailDetail.DataSource = null;
     this.pagePara = new GetGuideAchievementDetailsPara();
 }