Skip to content

Sizing forms in windows applications

s kumar

Asked Dec 18, 2007, 11:30 PM EST1 answer
Share
LinkedInX

hello,

i  am designing a  windows form which  has heigh 200 and width  300px. i  want this form should not be resized by  dragging itz edges. that means it  should  have constant size. now  i  can  resize it even after  giving its autosize property to false  and  autosize  mode to  grow only.  can  anyone  help how  can i  achieve  it??

 

thanks in  advance

 

s.kumar

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Simply set the FormBorderStyle property to "FixedSingle" and set the Maximum and Minimum size dimension properties to your current from size specs, that should take care of it.
    0