Is it possible to add properties to a class temporarily at run time?
I'm saving the locations of some user controls with serialization. The user controls can't be serialized, because controls can't, so I need to store the locations in some related objects which I can serialize. I need the related objects in any case. The related objects only need this data for serialization, and it would be nice if I could just give them the property for storing this information while serialization takes place. Is there any way this can be done?
I'm saving the locations of some user controls with serialization. The user controls can't be serialized, because controls can't, so I need to store the locations in some related objects which I can serialize. I need the related objects in any case. The related objects only need this data for serialization, and it would be nice if I could just give them the property for storing this information while serialization takes place. Is there any way this can be done?