WPF Boing 演示需要生命支持

发布于 2024-09-12 01:09:23 字数 743 浏览 1 评论 0原文

还记得 Amiga boing 演示吗?我正在阅读 Amiga 25 周年纪念文章,他们提到了这一点。带回了一些回忆。我记得有一个 WPF(当时称为 Avalon)演示是用来模仿它的。我做了一些谷歌搜索,发现它此处。然而,当我尝试在 VS 2010 中构建(重新定位到 CLR 4.0 Client Profile)时,它似乎已经非常过时了,因为 XAML 标记和隐藏代码充满了错误。是否有任何 WPF 专家有能力并且愿意将其带入本十年?这对我理解 WPF/XAML 堆栈有很大帮助。谢谢!

编辑:我正在使用刚刚找到的稍微更新的版本此处

编辑第二个:我已经编译并显示漂亮的渐变蓝色背景,但不是弹跳的方格球。问题是我找不到现代的等价物:

        <x:Include x:Content="{ball}" />

Remember the Amiga boing demo? I was reading a 25th anniversary of the Amiga article and they mentioned it. Brought back some memories. I remember a WPF (called Avalon at the time) demo put together to mimic it. I did some googling and found it here. However, it seems to be extremely out-of-date as the XAML markup and the code-behind is rife with errors when I attempt to build in VS 2010 (re-targeted to CLR 4.0 Client Profile). Are there any WPF gurus out there who are able and willing to bring it into this decade? This would go a long way to understanding the WPF/XAML stack for me. Thanks!

Edit: I'm using the slightly updated version I just found here.

Edit the 2nd: I've gotten it to compile and show the nice gradient blue background, but not the bouncing checkered ball. The problem is that I cannot find the modern equivalent of:

        <x:Include x:Content="{ball}" />

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

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

发布评论

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

评论(1

淡淡離愁欲言轉身 2024-09-19 01:09:23

我为 .NET 4.0 重新创建了这个东西。解决方案可通过Boing 链接获得。感谢您的建议。很有趣!

已添加

我已将解决方案代码添加到 codepaste.net。您可以在此处查看。

I have recreated this stuff for .NET 4.0. Solution is available by Boing link. Thanks for your suggestion. It was interesting!

Added

I have added solution code to codepaste.net. You can view it here.

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