C
C#17mo ago
hugheselite

✅ I can't get my runButton button to work on a windows form app

if (e.KeyCode == Keys.Enter || (e.Modifiers == Keys.None && sender == runButton))
if (e.KeyCode == Keys.Enter || (e.Modifiers == Keys.None && sender == runButton))
I can share more code no problem, I'm trying to have the rest of my code execute if the user hits enter or the Run button, so far it only works when they hit enter, not too sure how to proceed
No description
4 Replies
hugheselite
hugheseliteOP17mo ago
Might help, hopefully lol
Taha Reeh
Taha Reeh17mo ago
can you share the whole event?
hugheselite
hugheseliteOP16mo ago
!close
Accord
Accord16mo ago
Closed!

Did you find this page helpful?