keypreview to form a true private void SmtpForm_KeyPress (object sender, System.Windows.Forms.KeyPressEventArgs e) {if (e.KeyChar == (char) 13) {this.SelectNextControl (this.ActiveControl, true, true, false, True);}}