Пример #1
0
        /// <summary>
        /// 仓库选择
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void storeList_Click(object sender, EventArgs e)
        {
            FrmChooseStores fChooseStore = new FrmChooseStores();

            fChooseStore.Tag = new ChooseModel()
            {
                FGet     = this,
                TypeCode = "Store-SaleQueryByCustomer"
            };
            fChooseStore.SetStore += () =>
            {
                txtStore.Text = store.StoreName;
            };
            fChooseStore.ShowDialog();
        }
Пример #2
0
        /// <summary>
        /// 选择入库仓库
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void storeList_Click(object sender, EventArgs e)
        {
            FrmChooseStores fChooseStore = new FrmChooseStores();

            fChooseStore.Tag = new ChooseModel()
            {
                FGet     = this,
                UName    = uName,
                TypeCode = "Store-PerchaseInStore"
            };
            fChooseStore.SetStore += () =>
            {
                txtInStore.Text = store.StoreName;
            };
            fChooseStore.ShowDialog();
        }
Пример #3
0
        /// <summary>
        /// 打开仓库选择页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void storeList_Click(object sender, EventArgs e)
        {
            //store  事件--跨页面赋值  uName   本页面实例
            FrmChooseStores fChooseStore = new FrmChooseStores();

            fChooseStore.Tag = new ChooseModel()
            {
                FGet     = this,
                UName    = uName,
                TypeCode = "Store-StartStock"
            };
            fChooseStore.SetStore += () =>
            {
                txtInStore.Text = store.StoreName;
            };
            fChooseStore.ShowDialog();
        }