How to Fixed the Size of Window in C#

  • Thread starter byreddy reddy via .NET 247
  • Start date
M

Morten Wennevik

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]
 
M

Mark Broadbent

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
=============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top