How can i handle winforms keydown event?
Actually i tried like this
private void test_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
test2 tst2 = new test2();
tst2.Show();
}
}
but it is working only one time. What is the problem?