Example #1
0
        private void Cuenta_BT_Click(object sender, EventArgs e)
        {
            BankAccountSelectForm form = new BankAccountSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                BankAccountInfo cuenta = form.Selected as BankAccountInfo;

                _entity.CuentaBancaria = cuenta.Valor;
            }
        }
Example #2
0
        protected virtual void SetCuenta()
        {
            TPV item = (TPV)Datos.Current;

            BankAccountSelectForm form = new BankAccountSelectForm(this);

            if (form.ShowDialog(this) == DialogResult.OK)
            {
                BankAccountInfo cuenta = form.Selected as BankAccountInfo;

                item.OidCuentaBancaria      = cuenta.Oid;
                item.CuentaBancaria         = cuenta.Valor;
                Datos_DGW.CurrentCell.Value = cuenta.Valor;
            }
        }