开发者

Multi resolution

How To make user Control run 开发者_C百科on multiple resolution it run will on resolution 1366 X 768 but when I try to run it on 800 X 600 part of it did not appear , wheteherI docked it on the main form


You could have a look at

How do I resize controls on a form to fit different resolutions?


You have to distinguish between Size of your Control and the used dpi settings.

The size part is quite easy. Just use the Anchor and Docking properties of your user control and set also these properties of all child controls within your user control.

If your layout is more complex you can use the TableLayoutPanel. And don't forget the usage of MinimumSize and maybe MaximumSize.

About taking care with different dpi Settings i didn't make any further investigations. So maybe someone else knows how you can accomplish this problem within .Net

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜