private void txtTelefono_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.SoloNumeros(e);
     if (char.IsWhiteSpace(e.KeyChar))
     {
         e.Handled = true;
     }
 }
        private void txtfiltro_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (rdb_ID.Checked == true)
            {
                Validar.SoloNumeros(e);
            }

            if (rdb_Nombre.Checked == true)
            {
                Validar.SoloLetras(e);
            }
        }
 private void txtMontoFinal_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.SoloNumeros(e);
 }
 private void txtTelefono_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.SoloNumeros(e);
     Validar.Espacio(e);
 }
 private void txtIdentidad_KeyPress_1(object sender, KeyPressEventArgs e)
 {
     Validar.SoloNumeros(e);
     Validar.Espacio(e);
 }