📅  最后修改于: 2022-03-11 14:49:06.250000             🧑  作者: Mango
代码示例1
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyCode == Keys.F1 && e.Alt)
{
//do something
}
}