It's not who you are underneath, it's what you do that defines you

摘要: 方法有:1: if(e.KeyChar = '\r')SendKeys.Send("{TAB}");但是 也许是我程序里处理了太多的键盘事件,用它总是反映很慢,有时候还死机。这是常用的2:把Form的KeyPreView设为true,然后在Form的KeyPress中增加下列代码即可: private void Form1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r') this.SelectNextControl(this.ActiveControl 阅读全文
posted @ 2011-10-19 11:12 金铭杰 阅读(323) 评论(0) 推荐(0) 编辑

Brick walls are there for a reason :they let us prove how badly we want things