Answers for "detect keypress c#"

C#
0

detect keypress c#

private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyCode == Keys.F1 && e.Alt)
    {
        //do something
    }
}
Posted by: Guest on September-29-2021

Code answers related to "detect keypress c#"

C# Answers by Framework

Browse Popular Code Answers by Language