I am using the XmlSerializer class to serialize a class that derives from Form. Currently I have a class that links to the properties in the derived class to serialize them because serializing the properties in the Form class obviusly doesn't work. However I would much rather just serialize the intance of my derived class. My thought on this is to make it only serialize the properties in my derived class (so it won't touch the properties in Form), but I tried many ways but nothing worked.
Any ideas how to do this, and if it is imposible to do it the way I want any pointers on how else I should go about this problem?