• 0

[VB.NET] Enter key


Question

4 answers to this question

Recommended Posts

  • 0

its very simple... i do it this way in C#:

i dont have have the VS.NET on this machine so the code might not be the exact:

protected TextBox1_KeyPress(Object sender, KeyCharArgs e)

if (e.KeyChar == (char)Keys.Enter)

{

Button1_Click(sender, e);

}

anybody if i am not wrong please correct me....

Umer

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.