i use
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
and then
private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{ MessageBox.Show("" + e.KeyChar);}
to catch the every key press in my form....
but why it doesnt work with arrow keys?
how can i arrange it to catch all keyboard keys?
thank you!
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
and then
private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{ MessageBox.Show("" + e.KeyChar);}
to catch the every key press in my form....
but why it doesnt work with arrow keys?
how can i arrange it to catch all keyboard keys?
thank you!