473,396 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to resize System.Windows.Control.Panel according to Window size

How to resize System.Windows.Control.Panel if the window inside which the Panel is placed is minimised or maximised.
Mar 7 '13 #1
1 1783
vijay6
158 100+
Hey mansigupta31 set the Anchor property for that Panel, like as follows.

Expand|Select|Wrap|Line Numbers
  1. this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
  2.             | System.Windows.Forms.AnchorStyles.Left) 
  3.             | System.Windows.Forms.AnchorStyles.Right)));
Apr 2 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: R6_2003 | last post by:
Hello all, i dunno if that's the right newsgroup to ask, but i'll try, please ignore me if u feel its not 0:) i've been messing with a control panel app for so long.. previously i was using...
1
by: Stuart Roberts | last post by:
I wish to implement a control panel applet for my application, accessed from the standard windows control panel. Is they a simple way of ding this for a C# project? Am I right in thinking that i...
0
by: Patrick Aikens | last post by:
This question is for .NET 2005 beta 1 (we can't move to beta 2 yet at my workplace). This is probably a true newbie question or a beta bug, but I'm a bit lost on this... I want to extend the...
1
by: Chung | last post by:
Hi I am trying to create a Web applicatiion by using windows user control. I am having problem when I trying to load the web page, I got blank screen with a broken image. It is like the web...
2
by: John Seelig | last post by:
I have a vb.net program that calls an msi to uninstall a control panel (*.cpi, *.cpl and *.exe). However, after uninstall the icon persists in the control panel window until a refresh (F5) is...
0
by: Cc | last post by:
I try to make like note pad when open a document, the document will show in a tab control (something in vs) the trick I do is - on window container(parent) I create a split container (one for...
1
by: JIM.H. | last post by:
Hello, How can I make my ASP.Net application fit the internet explorer windows size so that users will see all the components even if they change the windows size. Is this possible?
8
by: Robert S | last post by:
I am writing an image viewer. I want to be able to resize the image so that it always fits within a window of given height and width. I've tried a couple of these from the web, but the don't...
6
by: prigupta2 | last post by:
Rep_pic(num).Print(LSTR & VB6.Format(Description, "00") & Crlf & "BOTTOM", TAB(38), VB6.Format(Count, "00") & " " & VB6.Format(MLEN, "0.00") & " " & VB6.Format(MWID, "0.00"), TAB(71),...
1
by: Ben ZZ | last post by:
Hi, I need to catch a before re-size event of a window, the problem is that i need it for the System.windows.window control, when i have looked it up i have found a way to do it only with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.