从 WinForms 迁移到 WPF [英] Moving from WinForms to WPF

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

问题描述

我们正在考虑从 WinForms 迁移到 WPF,WPF 有哪些陷阱?我们得到了组件的 flexgrid 是否有任何具有相同功能的 wpf 网格?它的一个好处是您可以为单元格实现自己的绘制方法...它可以合并单元格打印并保存为多种文件格式..

Well we are considering to move from WinForms to WPF, what pitfalls does WPF have? And we got component one's flexgrid is there any wpf grid that has the same functions? one nice thing with it is that you can implement your own draw method for the cells... It can merge cells print and save to many file formats..

推荐答案

总的来说,WPF 开发与 WinForms 有很大不同.您应该期望学习新技术需要一些时间(或者您甚至可能需要聘请新的开发人员 =)).

In general, WPF development is very different from WinForms. You should expect it will take some time to learn the new technology (or you might even need to hire new developers =)).

WPF 方法在很多方面都比 WinForms 更好:查看 样式和触发器数据绑定控制模板、事件模型.

WPF approach is in many ways better than WinForms' one: check out styles and triggers, data binding, control templating, eventing model.

我建议您开始探索它,但等待 WPF 4(以及 无聊的 MSDN 页面) 来开始实际的迁移,因为它会变得更好并消除一些非常烦人的差距.

I would recommend you to start exploring it, but wait for the WPF 4 (and the boring MSDN page) to start the actual migration, because it is going to be even better and close some of the very annoying gaps.

这篇关于从 WinForms 迁移到 WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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