I am working with a non-WPF application, so I can create custom WPF controls. My job for this was to simply create my windows as usercontrols, and then I created a common winform to host wpf user control (using ElementHost) to simulate a wpf window.
Everything works fine on my dev machine (WinXP VM), but on client computers (VM and Physical, like Windows 7) windows will open once and work fine. However, when he closes them and then opens them again, they are simply empty white. Windows are closed and deleted after each closing (the same thing happened even if I left them in my memory). The client must close the application and run it again to see the windows again.
I tried adding update calls and something that does not use elementhost, but nothing works. Any ideas?! This happens in every window.
source
share