Resource Assemblies for Different Resolutions on Compact Framework
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.
精彩评论