I have a form that has a specific collection class as a private member.
The objects in that collection have a member variable that references the
form on which the collection class is.
After deserialization, I need to reset this member variable.
How can I best do it?
If I can't trust IDeserializationCallback, is there a way to call the
deserialization for the collection on the form, and the code not continue
executing until this call is made, and thus after the call comes back, I can
call a method on the collection class to set all items' ParentForm property
in the collection?
Does the vb code execute asynchronously here (i.e. the next thing would
never happen until the deserialization call is finished)? I think this is
the case unless it is a multithreaded app.
Any thoughts?
Thanks,