✅ 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
hugheseliteOP2y ago
Might help, hopefully lol
Taha Reeh
Taha Reeh2y ago
can you share the whole event?
hugheselite
hugheseliteOP2y ago
!close
Accord
Accord2y ago
Closed!

Did you find this page helpful?