private void TextBox1_KeyDown(System.Object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { SendKeys.Send("{tab}"); e.SuppressKeyPress = true; } }