margajet24
asked on
WinForm Serialization in C#
I would like to serialize my form which is inherited from Systems.Windows.Forms, but when I try to do it, an error occurs because the parent class is said to be not marked as Serializable.
My reason for doing this is that i want to save the whole state of my form including all the state and variables within my form.
How can I do this?.. please help me..
My reason for doing this is that i want to save the whole state of my form including all the state and variables within my form.
How can I do this?.. please help me..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Question was not answered. Author was looking for a way to serialize an entire form. The answer only provide a way to serialize an object (ie: a Class of data), not the form or the controls on the form (including those that may not be serializable, such as buttons)