private void Form_KeyDown(object sender, KeyEventArgs e) { if(Keys.Enter == e.KeyCode) { SendKeys.Send("{TAB}"); e.Handled = true;//set to false if you need that textbox gets enter key } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)