Total .NET Analyzer Rule Documentation  

FormStartPosition Rule

Review forms with the Default

Remarks

By default, the StartPosition property for forms is set to 'WindowsDefaultLocation'. With this property setting, Windows determines the form's start location based on the user's system.

Although this may be appropriate behavior, you should review forms with default StartPosition to determine whether this is the desired functionality. In some cases, it may be more appropriate to have the form start in the center of the screen or client area.

Resolution

Determine the best location for the form to start, and set the FormStartPosition property appropriately using the Windows Form Designer Properties window.

See Also

Setting the Screen Location of Windows Forms

Form.StartPosition Property