Пример #1
0
        /// <summary>
        /// 窗体载入事件。
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ReceiveMaterialListCtrl_Load(object sender, EventArgs e)
        {
            ReceiveMaterialEntity receiveMaterial = new ReceiveMaterialEntity();

            this.paramTable = receiveMaterial.CreatParamTable();
            this.paramTable.Rows.Add();
            this.paramTable.Rows[0]["STORE_NAME"] = PropertyService.Get(PROPERTY_FIELDS.STORES);
            BindReceiveMaterialList(this.paramTable);

            BindFactoryRoom();
            BindProId();
            BindSupplierName();
            BindEfficiency();

            this.deReceiveMaterialStart.DateTime = DateTime.Now.AddDays(-30);
            this.deReceiveMaterialEnd.DateTime   = DateTime.Now;
        }