Silverlight - 浏览器外应用程序中的双屏

发布于 2024-08-12 19:39:44 字数 197 浏览 2 评论 0原文

有没有什么方法可以创建一个 Silverlight “浏览器外” 应用程序,该应用程序可以在其自己的屏幕上有两个窗口,并且让这两个窗口进行通信?

显然,在 Silverlight 4 中,您可以“控制 UI 的各个方面,包括窗口设置,例如起始位置、大小和镶边”,因此自动将窗口放置在每个屏幕上应该不是什么大问题……主要问题是通信。

Is there any way to create a Silverlight "Out of Browser" Application that can have two windows each on it's own screen and have these two windows communicate?

Apparently in Silverlight 4 you can "Control over aspects of UI include window settings such as start position, size and chrome" so automatically placing the windows on each screen shouldn't be that big of a deal... the main issue is communication.

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

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

发布评论

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

评论(1

巴黎夜雨 2024-08-19 19:39:44

从这个风滚草问题和其他一些论坛来看击中,不可能在 Silverlight 3 中以编程方式设置窗口大小。

您可以通过将拆分器停靠到窗口中并让用户手动将其调整为两个显示器的完整尺寸来“作弊”,然后将拆分器滑动到“显示器之间的接缝”。这不是最好的解决方案,但它可能是目前双显示器支持的唯一选择。

Judging from this tumbleweed question and a few other forum hits, it's not possible to set the window size programmatically in Silverlight 3.

You could "cheat" by docking a splitter into your window and having the user size it to the full size of both monitors manually, and slide the splitter bar to the "seam" between the monitors. Not the best solution but it's probably the only option for dual-monitor support for now.

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