private void txtNumero_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         if (int.TryParse(this.txtNumero.Text, out int num))
         {
             this.txtResultado.Text = NumLetras.getLetras(num);
             this.txtNumero.Text = "";
         }
     }
 }
 private void txtNumero_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         if (int.TryParse(this.txtNumero.Text, out int num))
         {
             this.txtResultado.Text  = NumLetras.getLetras(num);
             this.txtNumNLetras.Text = " (" + this.txtNumero.Text + ") $";
             this.txtNumero.Text     = "";
             this.lblFecha.Text      = DateTime.Today.ToString("dd / MM / yyyy");
             this.txtNombre.Focus();
         }
         else
         {
             MessageBox.Show("Los digitos ingresados no son validos...");
             this.txtNumero.Focus();
         }
     }
 }