Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Universidad: oym.
Matricula: 20-eisn-6-006
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BALANCE_DE_CUENTA
{
public partial class FBALANCE : Form
{
int NOTRANSACCION;
double DEPOSITOS, RETIROS, BALANCE;
public FBALANCE()
{
InitializeComponent();
}
}
private void PROCESAR()
{
ENTRADAS();
BALANCE = DEPOSITOS - RETIROS;
TBBALANCE.Text = Convert.ToString(BALANCE);
}
private void LIMPIAR(){
NOTRANSACCION = NOTRANSACCION + 1;
TBMOTRARNSACCION.Text = Convert.ToString(NOTRANSACCION);
TBDEPOSITOS.Text = "";
TBBALANCE.Text = "";
TBRETIROS.Text = "";
CBCUENTAS.Enabled = false;
}
private void NUEVO() {
LIMPIAR();
CBCUENTAS.Text = "ESCOJA OTRA CUENTA";
CBCUENTAS.Enabled = true;
}
}
else
{
e.Handled = true;
MessageBox.Show("DEBE DIGITAR UN VALOR NUMÉRICO");
TBDEPOSITOS.Focus();
}
}
}
}
else
{
e.Handled = true;
MessageBox.Show("DEBE DIGITAR UN VALOR NUMÉRICO");
TBRETIROS.Focus();
}
}
}
}
}
Captura de Pantalla