How do I disable form resizing for users in Winforms 2.0?

Re: Disable Form Resizing by Alex

Alex
Thu Apr 19 15:34:07 CDT 2007

As well as for .NET 1.x by setting the .FormBorderStyle property to any
"Fixed" values.

E.g. this.FormBorderStyle = FormBorderStyle.FixedSingle;

WBR, Alex Meleta
Blog: http://devkids.blogspot.com


-----Original Message-----
From: Mahesh Nimbalkar [mailto:MaheshNimbalkar@discussions.microsoft.com]
Posted At: Donnerstag, 19. April 2007 23:58
Posted To: microsoft.public.dotnet.framework.windowsforms
Conversation: Disable Form Resizing
Subject: Disable Form Resizing

How do I disable form resizing for users in Winforms 2.0?


RE: Disable Form Resizing by CiaranODonnell

CiaranODonnell
Fri Apr 20 08:50:05 CDT 2007

You can use the Form border style with a fixed style or you can set the
Form.MinimumSize and MaximumSize to the current size. That way the border
will look normal but dragging the edges wont move them.
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


"Mahesh Nimbalkar" wrote:

> How do I disable form resizing for users in Winforms 2.0?