I have a medium-sized WinForm application (1 form that houses 40 user controls) that we use in-house. I want to switch to WPF, but I can not perform Mass ReRelease.
My idea was to recreate the User 1 User Control application at the same time in WPF and place it in an existing WinForm application. I would make them look almost identical at the moment, so there is no need for mass retraining.
My question is more dependent on how someone else tried this and how part of the data works.
I recreated one of the WinForms user controls as a WPF user control. Should I publish this as a user control library?
How could I access the DAL for this UC? I am using the Linq to Sql data layer.
To clarify, the user controls for me are the “Page”, so Demographics is the user control.
In addition, my DAL is a separate library. Do I want this in my WPF solution, and then I will configure the data binding there, and when I import it into the winform application, it will be with it or it will be able to find it in the same place ...
source
share