摘要:
首先设置窗体的KeyPreview属性为true1privatevoidForm1_KeyUp(objectsender,KeyEventArgse)2{3if(this.ActiveControl.GetType().Name!="XpButton")4if(e.KeyCode==Keys.Enter)5SendKeys.Send("{TAB}");6} 阅读全文
posted @ 2007-04-03 15:55 孜孜 阅读(395) 评论(0) 推荐(0) 编辑