private void btnConfirmar_Click(object sender, EventArgs e) { foreach (Cuenta cuenta in _clienteActual.ListaCuentas) { if ((Convert.ToInt32(listBoxCuentasCliente.SelectedValue)) == cuenta.Cbu) { _operacion.Cuenta = cuenta; } } _operacion.Deposito(Convert.ToInt32(txtMontoDeposito.Text)); FinalizacionOperacion aux = new FinalizacionOperacion(_operacion); aux.ShowDialog(); Close(); }