以下2个都不行不知道怎么搞的啊
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyValue == 'a')
{
MessageBox.Show("aaaaa");
}
}
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar=='e')
{
MessageBox.Show("eeeeee");
}
}