Ejemplo n.º 1
0
        private void btnbtnSelectSupply_Goods_Click(object sender, EventArgs e)
        {
            FrmSupplier_Select frm = new FrmSupplier_Select("where IsStop=0 order by Name asc");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.SelectedSupplyUnit_Goods = frm.Output;
            }
        }
        private void btnSelectSupplier_BuyFuel_Click(object sender, EventArgs e)
        {
            FrmSupplier_Select frm = new FrmSupplier_Select("where IsUse='1' order by Name asc");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.txtSupplierName_BuyFuel.Text = frm.Output.Name;
            }
        }
Ejemplo n.º 3
0
        private void btnSupplyUnit_Click(object sender, EventArgs e)
        {
            FrmSupplier_Select Frm = new FrmSupplier_Select(string.Empty);

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                this.SupplyUnit = Frm.Output;
            }
        }
        private void btnSupplier_Click(object sender, EventArgs e)
        {
            FrmSupplier_Select Frm = new FrmSupplier_Select();

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                CmcsSupplier = Frm.Output;
            }
        }
        private void btnSupplier_Click(object sender, EventArgs e)
        {
            FrmSupplier_Select Frm = new FrmSupplier_Select();

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                cmcsSupplier = Frm.Output;
                this.txt_SupplierName.Text = Frm.Output.Name;
            }
        }