A
Andrus
I have class
FormData {
public System.Drawing.Font TextBoxFont;
}
I need to read/store this class in isolated storage in Winforms application.
Using
XmlSerializer formatter = new XmlSerializer(typeof(FormData),
"MyNameSpace");
causes exception
System.Drawing.Font cannot be serialized because it does not have a
parameterless constructor.
How to fix ?
Andrus.
FormData {
public System.Drawing.Font TextBoxFont;
}
I need to read/store this class in isolated storage in Winforms application.
Using
XmlSerializer formatter = new XmlSerializer(typeof(FormData),
"MyNameSpace");
causes exception
System.Drawing.Font cannot be serialized because it does not have a
parameterless constructor.
How to fix ?
Andrus.