I'm using this to allow cursor progressing to next TextBox
on a WinForm
:
private void GoToNextControl(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
this.SelectNextControl((Control)sender, true, true, true, true);
}
}
This works flawlessly if not for a "ding" sound when I press enter. How could I "silence" the ding?