I have noticed that some applications change their controls position to adjust them as much as possible in the resolution as possible, If window is maximized they set themselves in such a way that over all GUI looks balanced. My question is that is it possible to make or implement this functionality in Visual studio 2010 C#?
Basically, you can place your controls in a TableLayoutPanel
then
Left, Top, Right, Bottom
Left, Top, Right, Bottom
or less if more appropriate TableLayoutPanel
as "percent" or "fixed" at your convenience. Take a look at that walkthrough . It's not easy to implement at the first time, but go through the whole tutorial and you'll get a good idea on how to do it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.