Example #1
0
        /// <summary>
        /// 客户选择
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void suppliersList_Click(object sender, EventArgs e)
        {
            FrmChooseUnits fChooseUnits = new FrmChooseUnits();

            fChooseUnits.Tag = new ChooseModel()
            {
                FGet     = this,
                TypeCode = "Customer-SaleQueryByCustomer"
            };
            fChooseUnits.SetUnit += () =>
            {
                txtCustomerName.Text = unit.UnitName;
            };
            fChooseUnits.ShowDialog();
        }
Example #2
0
        /// <summary>
        /// 客户选择
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void customersList_Click(object sender, EventArgs e)
        {
            FrmChooseUnits fChooseUnits = new FrmChooseUnits();

            fChooseUnits.Tag = new ChooseModel()
            {
                FGet     = this,
                TypeCode = "Customer-SaleOutStore",
                UName    = uName
            };
            fChooseUnits.SetUnit += () =>
            {
                txtCustomers.Text = selCust.UnitName;
            };
            fChooseUnits.ShowDialog();
        }
Example #3
0
        /// <summary>
        /// 往来单位选择
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void customersList_Click(object sender, EventArgs e)
        {
            FrmChooseUnits fChooseUnits = new FrmChooseUnits();

            fChooseUnits.Tag = new ChooseModel()
            {
                FGet     = this,
                TypeCode = "Unit-SheetQuery",
                UName    = uName
            };
            fChooseUnits.SetUnit += () =>
            {
                txtUnitName.Text = unit.UnitName;
            };
            fChooseUnits.ShowDialog();
        }
Example #4
0
        public List <ViewGoodsInfoModel> chooseGoods = null; //选择的商品
                                                             //public event Action ReloadList;//刷新列表页数据
        /// <summary>
        /// 打开往来单位选择页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void suppliersList_Click(object sender, EventArgs e)
        {
            FrmChooseUnits fChooseUnits = new FrmChooseUnits();

            fChooseUnits.Tag = new ChooseModel()
            {
                FGet     = this,
                TypeCode = "Supplier-PerInStore",
                UName    = uName
            };
            fChooseUnits.SetUnit += () =>
            {
                txtSuppliers.Text = selUnit.UnitName;
            };
            fChooseUnits.ShowDialog();
        }