private void tb_serie_KeyPress(object sender, KeyPressEventArgs e) { ver.SoloNumeros(e); if (Char.IsDigit(e.KeyChar)) { Char Valor = e.KeyChar; if (tb_serie.TextLength == 4) { tb_secuencial.Enabled = true; tb_secuencial.Text = Valor.ToString(); tb_secuencial.Select(); tb_secuencial.Select(tb_secuencial.TextLength, 0); tb_serie.Enabled = false; } } }
private void SoloNumeros(object sender, KeyPressEventArgs e) { ver.SoloNumeros(e); }