コード例 #1
0
        private void textBox9_Buscar_KeyPress(object sender, KeyPressEventArgs e)
        {
            ValidarSoloLetrasSoloNumeros validar = new ValidarSoloLetrasSoloNumeros();

            if (comboBox1_buscar.Text.Equals("RUC"))
            {
                validar.SoloNumeros(e);
            }
        }
コード例 #2
0
ファイル: busquedaCliente.cs プロジェクト: ronaldSKC/RoseSoft
        private void textBox1_Buscar_KeyPress(object sender, KeyPressEventArgs e)
        {
            ValidarSoloLetrasSoloNumeros validar = new ValidarSoloLetrasSoloNumeros();

            if (comboBox1_Buscar.Text.Equals("NOMBRE"))
            {
                validar.SoloLetras(e);
            }
            if (comboBox1_Buscar.Text.Equals("NÚMERO DE CÉDULA"))
            {
                validar.SoloNumeros(e);
            }
        }
コード例 #3
0
 private void textBox8_KeyPress(object sender, KeyPressEventArgs e)
 {
     validar.SoloNumeros(e);
 }
コード例 #4
0
 private void txtIdentificacion_KeyPress(object sender, KeyPressEventArgs e)
 {
     validar.SoloNumeros(e);
 }