tags:

views:

99

answers:

3

I don't want any user to resize my application window. how can I do that?

+6  A: 

On the main Form (or any Form that you don't want to be resizable), change the FormBorderStyle property to Fixed__ (FixedSingle, Fixed3D, FixedDialog, FixedToolWindow)

colithium
+3  A: 

Hi,

other way is to define your form size and set the actual size as MinimumSize and MaximumSize via the properties.

This doesn't change your BorderStyle and the end user can't modify the size of the form.

K.Hoffmann
Valid solution. But I don't like when Windows look resizable and I go to resize them and nothing happens.
colithium
A: 

try this:

Change FormBorderStyle to Fixed(Single,3D,Dialog)
anishmarokey
It can still be resized by dragging the edges.
colithium