WPF应用程序中关于框的问题

发布于 2024-09-25 20:33:19 字数 277 浏览 0 评论 0原文

我尝试使用此处描述的方法在混合中添加一个关于框:

WPF 3.5 (VS2008) 中的关于窗口或关于框

但是,我最终收到一条错误消息,指出命名空间 System.Windows.Forms 不存在。

Blend 不支持这个命名空间吗?如果是这样,还有另一种方法来添加“关于”框吗?

I have tried adding an about box in blend using the method described here:

About Window or About Box in WPF 3.5 (VS2008)

However, I end up getting an error saying that the namespace System.Windows.Forms doesn't exist.

Does blend not support this namespace? if so, is there another method for adding an about box?

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

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

发布评论

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

评论(1

你与昨日 2024-10-02 20:33:19

只需创建一个普通的 WPF 窗口并使其看起来像一个关于框(添加产品名称、版本、版权等文本块...)

WinForms 的关于框没有什么特别的,它只是预加载了常见的关于框控件的普通表单,没有理由从 WPF 使用它。

Just create a normal WPF Window and make it look like an about box (add text blocks for product name, version, copyright ...)

There is nothing special about the WinForms about box, it's just a normal form preloaded with common about box controls, there is no reason to use it from WPF.

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