The Keyboard event handlers are triggered anytime a key on the keyboard is pressed/released. Learn how to listen for, and repond to specific keys.
GitHub link for solution to this tutorial:
https://github.com/AldworthClass/Keyboard-Events-CSharp