Jordy

Jordy

  • NA
  • 7
  • 0

Display problems while using dynamic loaded assemblies

Sep 24 2007 4:45 AM
Hello,

I'm facing problems with forms that aren't properly refreshed in some cases.

I'm working on a modular application. Basically, I have a main form, and I'm loading some assemblies using AppDomain.CreateInstance. These assemblies contains form dialogs I need to display from the main form. I display them directly without using threads.

When I'm using the application, a easy way to demonstrate the bug is to lock my computer (Windows Key + L), meanwhile the application displays a dialog form from the loaded assemblies, and when I log on again to the computer, I can see the dialog form that is not properly displayed.

I don't know if it's very clear but ... do you have any solutions to this problem ?

Thank you very much !

Answers (2)