日期:2014-05-20 浏览次数:20739 次
private void TextBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { //这里要让它激发 Buttonl_Click 事件 忘了怎么写 } } private void Buttonl_Click(object sender, EventArgs e) { ....................... }