Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys, may i know how to enable a form and controls to be displayed appropriately on another machine with a different display resolution. Thanks in advance!
Posted

1 solution

If you are using WinForms there is no good way to do this. You can use the Anchor properties to tie controls to certain edges of the form that will move when the form expands or contracts, but this is only a pseudo-solution. There are some layout controls you can use like a table layout that can help.

If you are using WPF then you can use other types of layout components to help you design a form that expands with the size of the form.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900