Remove resize option

Purpose: No need for the user to make changes to the size of the program.

Problem: I don’t know how to remove this thing, which allows the user to resize the screen.

hello

+7
source share
3 answers

You must set the FormBorderStyle property of your form to a style that prohibits resizing (any Fixedxxx styles).

However, remember that especially for main windows, often blocking window size is not a good choice in terms of program usability; The resizing logic is often boring and hard to work correctly, but overall it is well worth the effort (and various Dock and Fill controls can help there).

+11
source
+2
source

And don't forget to also set ShowMinimize and Maximize to false (in addition to the form frame style)

0
source

All Articles