Preventing resizing of a Form ?

  • Thread starter Thread starter Ken Williams
  • Start date Start date
A form has a "FormBorderStyle" property, which you can change in the design
mode in the Properties window.
 
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



Ken Williams a scris:
 
A form has a "FormBorderStyle" property, which you can change in the design
mode in the Properties window.

--http://www.rackaroo.com

Hi,

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.

Ask a Question

Back
Top