.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Ava Aiden
Imran Ghani
Thomas Shaw

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

child form size should auto fit with the parent form size

Posted By: Jayakumar     Posted Date: March 16, 2010    Points:2   Category :Windows Application

i need some idea reg this issues.

i want my child forms size should auto fit to the size of parent form.

that is minimum size of child forms should be less than minimum size of parent form.

when i minimize the parent form , my child form also should fit parent form and child form content should not scrolled.

how it can be done.


Author: Sagar Pardeshi             
Posted Date: March 17, 2010     Points: 5   
Author: Venkat             
Posted Date: March 17, 2010     Points: 5   

Hi you can set the WindowsState property of the form to make it maximized


Mark As Answer if this solve your problem
Warm Regards,
Author: krishana singh             
Posted Date: December 07, 2010     Points: 5   

Form f = this.ActiveMdiChild;
if (f != null)
workerJobReport f1 = new workerJobReport();
f1.MdiParent = this;
f1.WindowState = FormWindowState.Maximized;

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend