示例#1
0
        private void btnExtraccion_Click(object sender, EventArgs e) //manejo todos los botones desde aca
        {
            var btn = (Button)sender;

            _operacion.Extraccion(Convert.ToInt32(btn.Text));
            FinalizacionOperacion aux = new FinalizacionOperacion(_operacion);

            aux.ShowDialog();
            Close();
        }
示例#2
0
        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();
        }