在Form_Load里面添加了
listview1.Focus();
结果没效果。
解决方法:
在Focus()之前调用this.Show();
或者更简单的,把Focus()函数调用移到Form_Shown事件处理中。