coven

coven

  • NA
  • 1
  • 0

aboout seralization

May 4 2004 10:35 AM
hello sorry about my english I am tryng to do the following I have a Form with a Panel on with controls on the Panel. I want to serialize (Bin or XML, i don't mind) the Panel with its children and the children of the children (for containers)... When I try to do it VS.NET tells me it is impossible because it has not the serializable attritbute. I come from Delphi and it is a thing i do very often with Components . is there a very easy solution or do I have to override all the controls (that come from marshalbyref and so that should be serailizable)? I have succeded in implementing ISerialize on a textbox, but it is a very heavy solution. i really don't know how to start solving my problem. thanx in advance!

Answers (4)