Ok, I\'ve thumped on this idea all day now, and I have reached the part where I admit I just flat out don\'t know. It\'s possible that what I\'m doing is just stupid and the
According to what you have, FormWithWorker
must be (at least) as base class of the type you are instantiating, so you can do this:
FormWithWorker formToLoad = (FormWithWorker)fi.GetValue(this);
if (formToLoad == null)
{
formToLoad = (FormWithWorker)System.Activator.CreateInstance("MyAssemblyName", formType);
}