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