摘要: 有很多的朋友都会问到这个问题。在C#的WinForm中可以在控件的OnKeyPress事件里写。代码如下 Control control = (Control)sender;if (e.KeyChar==13){ SendKeys.Send(" ") //发送Tab //this.GetNextControl(control,true).Select(); //选择下一个... 阅读全文
posted @ 2004-09-02 14:06 D10.天地弦 阅读(1219) 评论(0) 推荐(0)