c# form的设定

1. 窗体的显示位置startPosition

CenterScreen 窗体在当前居中

CenterParent 窗体在其父窗体居中

WindowDefaultBounds 窗体定期在windows默认位置,其边界也是由windows默认决定

WindowDefaultLocation 窗体定位在windows默认的位置,其尺寸可指定

原文地址:https://www.cnblogs.com/jinTaylor/p/3466942.html