how to resize form

Hi Experts,

I want to change the form size according the size changed by any control on the form.
So just like vb we can use form.Resize() function.

What is the function in C# for resizing the form.

thanks in advance.
-Avinash
avinash_takaleAsked:
Who is Participating?
 
TertioptusConnect With a Mentor Commented:
If your in the form, you can modify the form like this:

this.Size = new Size(Height,Width)
0
 
TertioptusCommented:
you don't have to be in the form to modify that property
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.