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