In the application I'm working on, I ran into a small (big problem).
I am working on an application module for my company. The application is a WinForm application, but I was working on a WPF application (not really an application, as you will see) that will be hosted in this WinForm application when it is complete.
To do this, I use a WinForm control element, and I created a custom shell element, and then other custom control windows inside this custom control. Thus, it appears as a WPF application and uses the WinForm application as a launch, since the WPF application is actually just a collection of WPF controls.
The problem I am facing is that since I did not create the actual โWPF applicationโ, there is no App.xaml. This disconnected me from using shared resources as I wish, especially for XAML shares.
Is there a way that I can still process my collection of custom WPF controls as a WPF application and somehow use the App.xaml file for my resources. If not, what are my options for using shared resources in my application.
source share