Migrating from Forms to WPF

Posted by Jason Williams on Stack Overflow See other posts from Stack Overflow or by Jason Williams
Published on 2010-04-26T12:10:15Z Indexed on 2010/04/26 12:13 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

We're considering migrating a WinForms app to WPF, but are just starting on the WPF learning curve now that 4.0 is out.

What I'd like to do is migrate our application commands (cut, copy, paste, etc) to a WPF-like command-binding system, while still running as a WinForms app - but in such a way as to make the migration easy when we go ahead with WPF.

The ideal approach would be to implement our commands using the WPF command interfaces, classes and events directly, and simply hooking the WinForms events up to them with our own dispatcher.

Has anyone tried something like this or know if it might be possible?

© Stack Overflow or respective owner

Related posts about winforms

Related posts about wpf