Пример #1
0
        /// <summary>
        /// 商品入库
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolProductRK_Click(object sender, EventArgs e)
        {
            FrmIntoProduct form = new FrmIntoProduct();

            form.ShowDialog();
            CshProduct();
        }
Пример #2
0
        /// <summary>
        /// 商品入库
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnIntoProduct_Click(object sender, EventArgs e)
        {
            FrmIntoProduct intoProduct = new FrmIntoProduct();

            if (currentProduct != null)
            {
                intoProduct.txtProductId.Text   = currentProduct.ProductId;
                intoProduct.txtProductName.Text = currentProduct.ProductName;
            }
            ShowMDIChild(intoProduct);
            currentProduct = null;
        }