I hope you are well. I've developed a C # application in Visual Studio, but by pressing the 'TAB' key to switch from textBox1 to textBox2, it makes the Windows sound (which is actually the ENTER key that I changed in the script). How do you get the sound out? I tried the code below but it did not work ...
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Tab)
{
e.SuppressKeyPress = true;
}
}
Thank you!