Total .NET Analyzer Rule Documentation  

FormControlBox Rule

Consider setting the form's ControlBox property to True.

Remarks

The ControlBox property controls whether or not a control box is displayed in the upper left corner of the form (on the Caption bar). The control box can include Minimize, Maximize, and Close buttons. In general, all Windows forms except dialogs include a control box containing the Close button at a minimum. Examine the form to determine whether or not the ControlBox property should be set to True.

Resolution

Set the form's ControlBox property to True through the Windows Form Designer Properties window. In addition, you can determine whether the control box displays the maximize and/or the minimize button by setting the MaximizeBox and MinimizeBox properties.

See Also

Form.ControlBox Property