1.
设置事件
2. 在事件中加判断,如果符合 keys.ente。 才执行后面的代码。
winform中 enter 回车事件的实现
原文:https://www.cnblogs.com/bingyizhihun/p/14874833.html