开发者

Resource Assemblies for Different Resolutions on Compact Framework

开发者 https://www.devze.com 2023-01-24 08:41 出处:网络
I\'ve got a .NET Compact Framework application, which targets a number of different handheld devices, with varying resolutions. At the moment, I\'ve built it for one resolution, and then have checks o

I've got a .NET Compact Framework application, which targets a number of different handheld devices, with varying resolutions. At the moment, I've built it for one resolution, and then have checks on loading forms to see what resolution the current device has开发者_JS百科 and then I manually load images for that resolution, handle scaling etc. Obviously this is far from ideal.

Visual Studio has some nice localisation features, including separate images and text for other locales, but does it have anything similar for different resolutions?


The Orientation Aware Control was created for just this purpose.

It allows you to specify different layouts for a form based for different screen sizes, orientations and resolutions. The layout is automatically applied at run and design time.

0

精彩评论

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