Hi. I want to detect key presses in my textBox1,then change and write them to textBox2.(ex.:when user pressed "a" in textBox1, textBox2 must change and write it to "y")
I don't know could I explained my problem,sorry for my English.
Loading
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.
PJ MartinsPosted Jun 28, 2010, 8:26 PM
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.A)
textBox2.Text += "y";
}
Abdullah AKALINPosted Jun 29, 2010, 5:04 AM
Ankur GuptaPosted Jun 29, 2010, 1:37 AM
Abdullah AKALINPosted Jun 28, 2010, 1:12 PM
PJ MartinsPosted Jun 27, 2010, 12:53 AM