Solved

sizing the panels

Posted on 2012-03-18
3
198 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now