生产质量 W​​PF 示例

发布于 2024-09-18 05:51:00 字数 191 浏览 8 评论 0原文

当我学习 WPF 时,我遇到了相当多的示例,但大多数示例都带有“这不是生产质量代码”之类的免责声明,因为它们指的是他们正在解决的特定问题。

我想要的是了解 WPF 在现实生活中如何使用,整个应用程序,以便在一个示例中我可以看到工作中的所有最佳实践(绑定、资源文件、多语言、解决方案组织等......从基础到高级)。

你知道这样的例子吗?

As I'm learning WPF I came across quite a few examples, but mostly all of them have a disclamer like 'this is not production quality code', as they refer to a specific issue they're addressing.

What I would like is to see how is WPF used in reallife, the application as a whole, so that in one example I can see all of the best practices at work (binding, resource files, multilanguage, solution organisation, etc... from basic stuff to advanced).

Do you know of such examples?

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

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

发布评论

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

评论(2

定格我的天空 2024-09-25 05:51:00

我喜欢在 PRISM (CompositeWPF) 的参考实现 (StockTrader) 上学习 WPF
http://compositewpf.codeplex.com/
它基本上具有 WPF 如此强大的大部分优点,并且 Prism 是一个很棒的应用程序框架。

I liked learning WPF on the reference implementation (StockTrader) of PRISM (CompositeWPF)
http://compositewpf.codeplex.com/
It basically has most of the goods what makes WPF so powerful and prism is a great app framework.

‖放下 2024-09-25 05:51:00

An example I would recommend is the code used in Josh Smith article about MVVM. The WPF parts shows you how to deal with different aspects of the XAML syntax, and it especially shows you what you have to do behind (in the view model, in this example) to make it work. Unit tests are included in the solution, which is nice, as they are often forgotten in example projects.

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