H
Henry Jones
I am new to C# and wanted to capture the KeyPress for a textbox.
I created some code as follows:
private void textBox3_KeyPress(object sender, System.EventArgs e)
{
this.textBox2.Text = sender.ToString();
}
When I ran the code in debug, this function wasn't even entered. How can I
capture the KeyPress event (or Keydown)?
Bonus question: Why aren't all the methods listed in the IDE when in code
view? In VB they are?
I created some code as follows:
private void textBox3_KeyPress(object sender, System.EventArgs e)
{
this.textBox2.Text = sender.ToString();
}
When I ran the code in debug, this function wasn't even entered. How can I
capture the KeyPress event (or Keydown)?
Bonus question: Why aren't all the methods listed in the IDE when in code
view? In VB they are?