G
Guest
Hello all
I am writing a custom formatter to serialize controls to a text file. It largely works (at least I keep thinking that)
My current problem is that when a form is deserialized in the designer, the screen is updated properly and the properties show correctly in the editor window, but the newly altered properties do not persist into code. Usually I need to make a slight modification to the objects (e.g. select and move them) for the alterations to persist
I am wondering is there a simple call which will cause the IDE to initiate serialization to code? I suspect I need to somehow get a hold of the IDE's IDesignerSerializationManager object and through it obtain the necessary serializer for my root object and then serialize it - but how do I do that
Thanks for all replies
Marku
I am writing a custom formatter to serialize controls to a text file. It largely works (at least I keep thinking that)
My current problem is that when a form is deserialized in the designer, the screen is updated properly and the properties show correctly in the editor window, but the newly altered properties do not persist into code. Usually I need to make a slight modification to the objects (e.g. select and move them) for the alterations to persist
I am wondering is there a simple call which will cause the IDE to initiate serialization to code? I suspect I need to somehow get a hold of the IDE's IDesignerSerializationManager object and through it obtain the necessary serializer for my root object and then serialize it - but how do I do that
Thanks for all replies
Marku