Upload My Experience and Learning
14 August 2012
Form will open by pressing the Enter key or Space Bar
KeyPreview = true
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 13)
{
AboutBox1 aabt = new AboutBox1();
aabt.Show();
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment