Tuesday, 15 February 2011

c# - How to make a windows form fit for all screens -


I have a windows app that is close to 10 forms I fit from 13 inches to 18 inches of all types of screen I want to apply. Any suggestions will help me a lot

Make your dialogs shapeable Use the containers that are windows Forms are available in This will ensure that if the diagram has actually been resized, then the elements are included in the form, proportionally changing the shape of the new shape in mind. You want to check out TableLayoutPanel

To consider other things, how to anchor them for all the elements of your form, how to keep them and dock them in a parental control .... These qualities The names are found in the form of anchors and docks and can be found in properties.

At the dialog level, you can control the status of the dialog on the screen by setting the value to StartPosition and WindowsState.

If you want more control than this, you can use the screen object.


No comments:

Post a Comment