c# WinForm加载焦点
时间:2014-12-01 15:38:32
收藏:0
阅读:218
两种方法:
1 在Load中设置
this.ActiveControl = this.textBox;
2 this.textBox.Focus();
但在Form_Load设置会无效,可在Form_Paint()中设置.
原文:http://www.cnblogs.com/eastson/p/4135110.html