private void txtApellido_KeyPress(object sender, KeyPressEventArgs e) { MetodoValidar.ValidarTexto(txtApellido, e, 25); }
private void txtNombre_KeyPress(object sender, KeyPressEventArgs e) { MetodoValidar.ValidarTexto(txtNombre, e, 25); }