摘要: form的 keypreview设为true private void SmtpForm_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar==(char)13) { this.SelectNextControl(this.ActiveControl,t... 阅读全文