This project is read-only.

Using Code Framework in a hybrid Winform WPF application

Sep 1, 2014 at 8:12 AM
Hi,

Is there some way to use the code framework in a hybrid environment of Winforms and WPF? We're about to start with a transition phase where we phasing out winforms and migrate them to WPF. So during this transition we will have the Winform app starting WPF forms.

I really like the MVC approach of this framework so the question therefor is: Can we use "Code Framework" in this scenario?

Thanks and regards,

Yorrick
Sep 2, 2014 at 9:32 AM
Yorrick,

if you want to use the overall MVC architecture of CODE Framework, you would have to create a new application and then load all the WPF stuff using the standard approach of CODE Framework and perhaps create another view handler that allows you to launch your existing WinForms UIs.

Realistically speaking, this is probably difficult with existing apps that require their own infrastructure. You are more likely to have to load WPF forms within the existing WinForms application. In that case, you cannot use the overall MVC architecture of CODE Framework, and you likely lose features such as the theming setup. You can still use individual classes and such of course.


Markus