Compact Framework 上不同分辨率的资源程序集

发布于 2024-10-01 10:26:12 字数 206 浏览 0 评论 0原文

我有一个 .NET Compact Framework 应用程序,它针对许多不同的手持设备,具有不同的分辨率。目前,我已经针对一种分辨率构建了它,然后检查加载表单以查看当前设备具有什么分辨率,然后我手动加载该分辨率的图像,处理缩放等。显然这远非理想。

Visual Studio 有一些很好的本地化功能,包括针对其他区域设置的单独图像和文本,但是它对于不同的分辨率有类似的功能吗?

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 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

久伴你 2024-10-08 10:26:12

方向感知控件就是为此目的而创建的。

它允许您根据不同的屏幕尺寸、方向和分辨率为表单指定不同的布局。布局在运行和设计时自动应用。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文