How to ease the transition from WinForms to WPF
I'm working on a large Winforms application dealing with large amounts of data exposed through grids. I see us eventually moving completely to an MV-VM & WPF implementation but now we're still closer to a ball-of-mud than anything resembling loose coupling.
As we evolve toward cleaner separation of concerns, what are some specific patterns we can implement while still in the WinForms world but yielding a smoother transition once we take the WPF plunge? Specifically, is there any guidance on exploiting WinForms limited binding and event handling in a fashion that approximates WPF/MVVM?
Recommending you to install Prism, and have a look at the samples.
http://www.codeplex.com/CompositeWPF
I suggest you to go ahead with a complete WPF approach. Few suggestions if you've a winforms background, when you come to WPF
And, finally, read this article on code project http://www.codeproject.com/KB/WPF/winforms2wpf.aspx "Creating the Same Program in Windows Forms and WPF" by Josh Smith.
链接地址: http://www.djcxy.com/p/42786.html上一篇: 这是值得的努力
下一篇: 如何简化从WinForms到WPF的转换