摘要: 把Form的KeyPreView设为true,然后在Form的KeyPress中增加下列代码即可:if (e.KeyChar == '\r')this.SelectNextControl(this.ActiveControl, true, true, true, true); 阅读全文
posted @ 2015-10-30 19:21 gobuild 阅读(140) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-10-30 19:20 gobuild 阅读(707) 评论(0) 推荐(0)