Пример #1
0
 private void TxtPalabraSeguridad_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (Char)Keys.Enter)
     {
         BtnBuscarNomina.PerformClick();
     }
 }
Пример #2
0
        private void TxtNomina_KeyPress(object sender, KeyPressEventArgs e)
        {
            Soporte.ValidarNumeros(TxtNomina, e);

            if (e.KeyChar == (Char)Keys.Enter)
            {
                BtnBuscarNomina.PerformClick();
            }
        }