Right, I see; that explains a lot.
I don't think it's easy (if possible at all) to truly serialize a form. It's quite a complex object, so it;s a daunting task (unless there is built-in support that I don't know off).
I think the easiest way is to create two methods called LoadState and SaveState (or whatever you see fit). The SaveState gets the information from the form and gets the state from all fields (checkboxes, text boxes etc) that differs from the default and saves it to the registry, or to the an application config / xml file.
The LoadState does the opposite and get the information when the application starts, and restores the form.
Does this help?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
In This World by
Moby (Track 2 from the album:
18)
What's This?