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
 
Back
Top