form.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.FixedSingle
You may also hide the minimize and maximize buttons:
In form designer set to false the following 2 properties: MinimizeBox
and MaximizeBox
Furthermore (without changing the border style),
You can set the minimum and maximum size of the window to be the same.
Moty
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.