Solved

sizing the panels

Posted on 2012-03-18
3
206 Views
Last Modified: 2012-05-16
Hello all,

I need your help, I have a desktop application in C# I am designing.

The main form has an image and the image is set to zoom. So when I increase or decrease the form by dragging the corners of the form the image increases and decreases.  GOOD

The problem is the panels on the form do not increase or decrease in size.  I tried different options with the properties but have not found a solution.

Is there something I am overlooking.  Can this be done by just setting the right properties or does this have to be done with programming.

Hope this makes sense, Thanks
0
Comment
Question by:crp81
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Ashok
ID: 37734797
Make sure this panel is anchored to all 4 sides of the user control.

HTH
Ashok
0
 
LVL 13

Accepted Solution

by:
Ashok earned 500 total points
ID: 37734819
I am not sure how many panels you have and arrangements of panels and other components in your form, but see following link

http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_22788475.html

HTH
Ashok
0
 
LVL 13

Expert Comment

by:Naman Goel
ID: 37735264
You are having two solution:

1. 1

Anchor your Panels from all sides(Left, right, top, bottom)

2. 2

Dock your Panel to fill to parent
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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