here is the code
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 'a')
{
Application.Exit();
e.Handled =
}
}
true;
{
if (e.KeyChar == 'a')
{
Application.Exit();
e.Handled =
}
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Mar 18, 2012, 4:01 AM
FroglegPosted Mar 18, 2012, 3:57 AM
brunda kPosted Mar 18, 2012, 3:40 AM
FroglegPosted Mar 18, 2012, 2:02 AM