时间:2024-10-23 04:02:10
1、打开vs,新建窗体程序
2、右键窗体选择属性
3、设置position属性是centerscreen
4、然后窗体就居中了
5、一般也可以通过点击按钮设置
6、在代码中也可以操作position属性