C#涓璚indows閫氱敤鐨勫洖杞﹁浆Tab鏂规硶
鍙戝竷: 2008-6-30 10:12 | 浣滆: admin | 鏌ョ湅: 11娆
鍘熸潵涓鐩存槸涓烘瘡涓枃鏈鐨凨eyPress澧炲姞锛
if(e.KeyChar = '\r') SendKeys.Send("{TAB}");
鏈杩戞兂鎯筹紝鍏跺疄鏈夋洿绠鍗曠殑鏂规硶锛屾妸Form鐨凨eyPreView璁句负true锛岀劧鍚庡湪Form鐨凨eyPress涓鍔犱笅鍒椾唬鐮佸嵆鍙細
if (e.KeyChar == '\r')
this.SelectNextControl(this.ActiveControl, true, true, true, true);




发表于 2009-1-5 19:48
| 











