예제 #1
0
 private void TxtValor_TextChanged(object sender, EventArgs e)
 {
     validador = new Validador();
     try
     {
         TxtValor.Text = validador.Valor(TxtValor.Text);
         TxtValor.Select(TxtValor.Text.Length, 0);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
예제 #2
0
 private void TxtValor_TextChanged(object sender, EventArgs e)
 {
     validarNumero = new ValidarNumero();
     TxtValor.Text = validarNumero.Validar(TxtValor.Text);
     TxtValor.Select(TxtValor.Text.Length, 0);
 }