protected virtual void SetBankAccountAction() { BankAccountSelectForm form; if (_entity.EMedioPago == EMedioPago.ComercioExterior) { form = new BankAccountSelectForm(this, BankAccountList.GetList(ETipoCuenta.ComercioExterior, moleQule.Base.EEstado.Active, false)); } else { form = new BankAccountSelectForm(this, BankAccountList.GetNoAsociadasList(moleQule.Base.EEstado.Active, false)); } if (form.ShowDialog(this) == DialogResult.OK) { BankAccountInfo cuenta = form.Selected as BankAccountInfo; _entity.OidCuentaBancaria = cuenta.Oid; _entity.CuentaBancaria = cuenta.Valor; Cuenta_TB.Text = _entity.CuentaBancaria; } }