Solved

sizing the panels

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hey!! 5 33
Example works but why do I need to click twice on button 4 39
Winform Module - What is the ASP.Net equiv 2 20
C# LINQ ForEach() question 6 28
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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 shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

772 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