博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

this.AcceptButton=button2;

 

获取或设置当用户按 Enter 键时所单击的窗体上的按钮。