private void txtLast_KeyDown(object sender, KeyEventArgs e) { //---make enter key work as tab if (e.KeyCode == Keys.Enter) SendKeys.Send("{Tab}");