Exemplo n.º 1
0
        /// <summary>
        /// 选择收货单位
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnSelectSupplyReceive_SaleFuel_Click(object sender, EventArgs e)
        {
            FrmSupplyReceive_Select frm = new FrmSupplyReceive_Select("where IsValid=1 order by UnitName asc");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.txt_SupplierName.Text = frm.Output.UnitName;
            }
        }
        private void btnReceiveUnit_Click(object sender, EventArgs e)
        {
            FrmSupplyReceive_Select Frm = new FrmSupplyReceive_Select();

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                receiveUnit = Frm.Output;
            }
        }