C
C#14mo 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
hugheseliteOP14mo ago
Might help, hopefully lol
Taha Reeh
Taha Reeh14mo ago
can you share the whole event?
hugheselite
hugheseliteOP14mo ago
!close
Accord
Accord14mo ago
Closed!

Did you find this page helpful?