什么是更大的障碍需要克服,从的WinForms迁移到WPF? [英] What are the bigger hurdles to overcome migrating from Winforms to WPF?

查看:90
本文介绍了什么是更大的障碍需要克服,从的WinForms迁移到WPF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了好几年在C#中的WinForms应用程序和已有意移动未来的发展走向WPF,主要是因为积极的事情我已经听到了。但是,我不知道那种障碍别人不得不克服的,因为他们迁移到WPF什么。当时有显著命中您的工作效率或者你发现了具有挑战性的任何具体问题?

I've been developing Winforms applications in C# for a few years now and have been interested in moving future development toward WPF, mainly because of the positive things I've been hearing about it. But, I'm wondering what sort of hurdles others have had to overcome as they migrated to WPF. Was there a significant hit to your productivity or any particular issues which you found challenging?

推荐答案

我不知道我可以给你只是一个障碍,因为它是从的WinForms完全背离。我的建议是让亚当森的WPF如虎添翼,忘了你知道的关于建立UI与以前的任何技术(的WinForms,MFC,Java的)一切,在起点重新开始。

I'm not sure I can give you just one hurdle, because it is a complete departure from WinForms. My suggestion is get Adam Nathan's WPF Unleashed, forget everything you know about building UI's with any previous technology (Winforms, MFC, Java) and begin again at square one.

如果你尝试做任何其他方式会造成极度沮丧

If you try and do it any other way it will cause utter frustration.

ETA:我之所以说只是从头开始,因为有时它是更容易,如果你走在一个干净的石板学习新概念。在过去,我发现,我可以做我自己最大的敌人,当涉及到学习新的东西,如果我试图从技术进行知识技术(如思维,多年来做ASMX Web服务妨碍我从阅读的第一对夫妇一个WCF本书的章节)。

ETA: the reason I say to just start from scratch is because sometimes it's easier to learn new concepts if you go in with a clean slate. In the past, I've discovered that I can be my own worst enemy when it comes to learning something new if I try to carry knowledge from technology to technology (e.g. thinking that doing asmx web services for years precludes me from reading the first couple chapters of a WCF book).

这篇关于什么是更大的障碍需要克服,从的WinForms迁移到WPF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆