动态用户界面,是否是 WPF?
我目前正在开发一个应用程序,帮助人们了解如何完成这项工作。您可以将其视为私人教练,指导他们完成正常人无法记住的所有步骤。
在我之前的应用程序中,我们能够向用户显示最多 4 张图片(事实证明这已经足够了)。应用程序将加载数据并查看每条指令中有多少张图片,然后以最合适的方式对图片进行排序,而不会弄乱图片的比例和分辨率。这一切都是用 GDI+ 完成的,并且效果很好。
Ofc,变化总是会发生的,我的老板们想出了一些很棒的想法。因此他们希望能够在屏幕上观看电影、GIF 动画、可以旋转或动画的 3D 模型。所以我认为我们已经将 GDI+ 推向了极限,是时候寻找一些不同的东西了。
我听说过并读过有关 WPF 的内容,但没有任何使用经验。是否有可能完成我在 WPF 中要求的所有操作?那我以前写的图片合并的东西呢,我们也可以在wpf中完成吗?我试图让一些事情发挥作用,但进展并不像我希望的那么顺利。
我还担心界面需要是动态的,某一时刻它应该显示上面有一些文本的图片,另一时刻它应该显示另一个带有视频的文本。
我很想在这里听到一些意见,如果您有其他建议,我应该研究一下,请告诉我。提前谢谢
PS:如果选择 WPF,我应该说服我的老板更改为 .net 4.0 吗?
I'm currently working at a application that helps people understand how to do there job. You can see it as a personal coach that guides them trough all the steps they need to do that no normal person could keep remembering.
In my previous application we had the ability to show the user up to 4 pictures (what proves to be more then enough). The application would load the data and see how many pictures where in every instruction and then sort out the picture in the best fitting way without messing up the scale and resolution of the pictures. This all was done with GDI+ and worked very well.
Ofc, change is something that always happens, my bosses came up with some great ideas. So they want to be able to see movies on the screen, animated gif's, 3D models that can rotate or animate. So I think we had pushed GDI+ to it's limits and it's time to look for something different.
I have heard and readed about WPF but have no experience with it. Is it even possible to do all what I ask in WPF? And what about the old picture-merging thing I wrote, can we also get it done in wpf? I tried to make some things working but I didn't went as smooth as I hoped.
I'm also concerned about the fact that the interface needs to be dynamic, the one moment it should be showing picture with some text above it, the other moment it should be showing another text with a video under it.
I would love to hear some opinions here and if you got some other suggestions I should look into pls tell me. Thnx in advance
PS: If WPF is the choice, should I convince my boss to change to .net 4.0?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尽管我的回答可以称为主观的,但我发现 WPF 无论如何都比 GDI+ 更好。您可以在 WPF 中完成您在 GDI+ 中已经完成/可以完成的所有操作(除了纯游戏/游戏引擎)。如果您能够承受 WPF 陡峭的学习曲线,我认为这将是更好的投资,因为这项技术不会很快得到任何发展。
至于.Net 4.0,WPF 4.0确实在4.0中引入了一些重要的功能(特别是动画的缓动功能),但是如果您使用3.5,则没有什么是不能没有的。我不会推荐 3.0,主要是因为动画的性能。
Although my answer can be termed subjective, I find WPF better than GDI+ anyday. You can do everything you can in WPF which you have done/could do in GDI+ (apart from pure games/game engines). If you can afford the steep learning curve of WPF, I think it will be better investment as this technology is not going anywhere soon.
As for .Net 4.0, WPF 4.0 does introduces some important functions in 4.0 (specially easing functions for animations) but there is nothing you cannot do without if you are using 3.5. I won't recommend 3.0 though mainly because of performance in animations.
WPF 可以胜任这项任务,但您也可以检查其他选项。
您可以基于 Web,并拥有 XBAP(浏览器中的 WPF)或 Silverlight/Flash 应用程序。
Silverlight/Flash 不需要太多客户端(安装),并且易于更新,两者都可以完成这项工作。
WPF is up to the task, but you could also check other options.
You could go web based, and have either an XBAP (WPF in the browser), or Silverlight/Flash app.
Silverlight/Flash doesn't require that much from the client (to install), and is easily updatable, and both can do the job.