Hello
I have this code in my project and it doesnt work, what might be wrong?
private void Textbox1_KeyPre ss(object sender,
System.Windows. Forms.KeyPressE ventArgs e)
{
if (e.KeyChar == '\n')
{
Textbox2.Text = "KKK";
Textbox1.Text = "";
}
}
nothing happens :( no errors when compiling either......
any ideas?
/Lasse
I have this code in my project and it doesnt work, what might be wrong?
private void Textbox1_KeyPre ss(object sender,
System.Windows. Forms.KeyPressE ventArgs e)
{
if (e.KeyChar == '\n')
{
Textbox2.Text = "KKK";
Textbox1.Text = "";
}
}
nothing happens :( no errors when compiling either......
any ideas?
/Lasse
Comment