onuserpreferencechanged hang - dealing with multiple forms and mutlipe ui threads
问题 I think my problem is similar to: .NET 4.0 and the dreaded OnUserPreferenceChanged Hang I have also looked through: http://ikriv.com/en/prog/info/dotnet/MysteriousHang.html#BeginInvokeDance I have removed our splash screen. I also tried adding the suggested code: Microsoft.Win32.SystemEvents.UserPreferenceChanged += delegate { }; to our main() method. I'm looking for some ideas and information on how to troubleshoot. For our main() method we start a windowmanager class which is a form using