tags:

views:

30

answers:

4

I would like to let users resize my form but when they reach a specific size to disable this ability to make it smaller window than i want.

Any suggestions?

+3  A: 

You can set the MinimumSize property of the form to the minimum size you want to enforce.

There is also a mirror property MaximumSize (mentioned for completeness).

Oded
How i couldn't see this...
AlwaysBeCoding
@AlwaysBeCoding - many times we can't see the woods for the forest. There are so many properties on Form, that missing some is easy.
Oded
+1  A: 

Set the form's MinimumSize property in the designer.

SLaks
+1  A: 

Set the form's MinimumSize property to the smallest size you want to allow.

Reed Copsey
+2  A: 

Set the MinimumSize property on your form. This will prevent the user from making the form any smaller than this value. Similarly, you can set the MaximumSize property to ensure that they cannot make it any larger than that value.

Adam Robinson