[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to resize form

Posted on 2006-06-08
2
Medium Priority
?
193 Views
Last Modified: 2010-04-16
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
0
Comment
Question by:avinash_takale
  • 2
2 Comments
 
LVL 5

Accepted Solution

by:
Tertioptus earned 600 total points
ID: 16863909
If your in the form, you can modify the form like this:

this.Size = new Size(Height,Width)
0
 
LVL 5

Expert Comment

by:Tertioptus
ID: 16863920
you don't have to be in the form to modify that property
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question