private void txtUsername_KeyPress(object sender, KeyPressEventArgs e)
{
if (Convert.ToInt32(e.KeyChar) == 13)
{
//This is where you will put your code if Enter key is pressed
}
}
No comments:
Post a Comment