Migrating from Forms to WPF
- by Jason Williams
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?