c# keyboard enter

black lighting answered on March 28, 2020 Popularity 9/10 Helpfulness 7/10


More Related Answers

  • jquery on enter key pressed
  • use enter key unity
  • jquery on enter key press event
  • block enter key using jquery
  • c# press key
  • windows form textbox enter key event
  • enter key in selenium
  • jquery key enter events
  • js enter key event listener
  • read enter in c
  • element ui handle enter key
  • javascript key pressed enter
  • on key down enter
  • event enter keyboard in input jquery
  • java swing enter key press event
  • on enter press button
  • c# ignore enter key
  • enter keycode
  • how to make a enter in C# string
  • c# get key input
  • input.getkey(keycode.enter)
  • c# press key
  • How to trigger button using enter keyword in an input box?
  • winforms how to check for enter key
  • input keyboard enter type
  • how to send a form when you hit the enter key
  • windows form toolbox enter key
  • how to if i enter 1 go to this program C#

  • c# keyboard enter

    Popularity 9/10 Helpfulness 7/10 Language csharp
    Tags: c# enter keyboard
    Link to this answer
    Share Copy Link
    Contributed on Mar 28 2020
    black lighting
    0 Answers  Avg Quality 2/10

    Closely Related Answers


    Choose proprieties then events

    Instead of using Key_press event you may use Key_down event. You can find this as belowEvent

    after double clicking here it will automatically this code

    private void textbox1_KeyDown(object sender, KeyEventArgs e)



    Problem solved now use as you want.

    private void textbox1_KeyDown(object sender, KeyEventArgs e)


    if (e.KeyCode == Keys.Enter)


    MessageBox.Show(" Enter pressed ");


    Popularity 6/10 Helpfulness 4/10 Language csharp
    Source: Grepper
    Tags: c# enter key
    Link to this answer
    Share Copy Link
    Contributed on Mar 04 2023
    Mohamed Sami khiari
    0 Answers  Avg Quality 2/10


    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.