private void txtValor_Leave(object sender, EventArgs e) { validar = new Validar(); txtValor.Text = validar.Zero(txtValor.Text); txtValor.Text = validar.Formatar(txtValor.Text); }
private void TxtMedia_Leave(object sender, EventArgs e) { validar = new Validar(); TxtMedia.Text = validar.Zero(TxtMedia.Text); TxtMedia.Text = validar.Formatar(TxtMedia.Text); }