Beispiel #1
0
        public GetRetailSummaryCtrl()
        {
            InitializeComponent();

            MenuPermission = RolePermissionMenuEnum.店铺收款汇总;
            //dataGridViewPagingSumCtrl2 = new DataGridViewPagingSumCtrl(this.dataGridView2);
            //dataGridViewPagingSumCtrl2.Initialize();
            this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1,
                                                                           new string[] {
                WeChat.DataPropertyName,
                Alipay.DataPropertyName,
                Cash.DataPropertyName,
                UnionpayCard.DataPropertyName,
                Integrate.DataPropertyName,
                Card.DataPropertyName,
                Sum.DataPropertyName,
                Ticket.DataPropertyName, MoneyOther.DataPropertyName
            });


            this.dataGridView1.AutoGenerateColumns = false;
            dataGridViewPagingSumCtrl.Initialize();

            this.dataGridView1.AutoGenerateColumns  = false;
            dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting;


            GlobalUtil.SetShop(skinComboBoxShopID, true);
            skinComboBoxShopID.SelectedValue = GlobalCache.GeneralStoreShopID;
        }
 private void Initialize()
 {
     skinSplitContainer1.Panel2Collapsed = true;
     DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
     GlobalUtil.SetShop(this.skinComboBoxShopID);
     skinTextBox_OrderID.Text   = string.Empty;
     skinTextBox_costumeID.Text = string.Empty;
     this.BindingScrapOrderSource(null);
 }
 private void Initialize()
 {
     DateTimeUtil.DateTimePicker_SetDateTimePicker(dateTimePicker_Start, dateTimePicker_End);
     this.pagePara = new PurchaseCostumePagePara();
     this.dataGridViewPagingSumCtrl.Initialize(1);
     this.BindingPurchaseOrderSource(null);
     this.skinTextBox_costumeID.SkinTxt.Text = string.Empty;
     this.skinTextBox_OrderID.SkinTxt.Text   = string.Empty;
     GlobalUtil.SetShop(skinComboBoxShopID);
     skinSplitContainer1.Panel2Collapsed = true;
 }
        public UpdateShopCostumePriceCtrl()
        {
            InitializeComponent();
            MenuPermission             = RolePermissionMenuEnum.价格管理;
            dataGridViewPagingSumCtrl2 = new DataGridViewPagingSumCtrl(this.dataGridView2);
            dataGridViewPagingSumCtrl2.Initialize();
            this.dataGridViewPagingSumCtrl = new DataGridViewPagingSumCtrl(this.dataGridView1,
                                                                           new string[] {
            });

            this.dataGridView1.AutoGenerateColumns = false;
            dataGridViewPagingSumCtrl.Initialize();

            this.dataGridView1.AutoGenerateColumns  = false;
            dataGridViewPagingSumCtrl.ColumnSorting = dataGridViewPagingSumCtrl_ColumnSorting;


            GlobalUtil.SetShop(skinComboBoxShopID, false);
            skinComboBoxShopID.SelectedValue = GlobalCache.GeneralStoreShopID;
            //  CommonGlobalUtil.SetBigClass(skinComboBoxBigClass);
            GlobalUtil.SetBrand(this.skinComboBox_Brand);
        }