How to Fixed the Size of Window in C#

  • Thread starter Thread starter byreddy reddy via .NET 247
  • Start date Start date
Hi byreddy reddy,

If you mean fixing the size of a window as in not possible to resize?
Then set its BorderStyle to FormBorderStyle.Fixed3D or FixedDialog or
FixedSingle.

Happy coding!
Morten Wennevik [C# MVP]
 
and if you do want to resize but fix a minimum size, then there is a lovely
little form property called (believe it or not...) MinimumSize which I
believe uses the point type to set the bounds.

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
 
Back
Top