Hello Everybody
I am developing a Windows Forms App which consists of 1 Form.
I would like to be able to save/restore the current state of a few TextBox's a ListBox and some float variables but I don't know how.
I know that I have got to somehow save it to a file using serialization and then restore it by de-serialisation but how do I serialize data and do I:
A: Save the WHOLE Form object?
B: Make a new class to serialize just the object/variables I need?
I have checked out MSDN online and I'm still none the wiser.
Any help is greatly appreciated.
D.
I am developing a Windows Forms App which consists of 1 Form.
I would like to be able to save/restore the current state of a few TextBox's a ListBox and some float variables but I don't know how.
I know that I have got to somehow save it to a file using serialization and then restore it by de-serialisation but how do I serialize data and do I:
A: Save the WHOLE Form object?
B: Make a new class to serialize just the object/variables I need?
I have checked out MSDN online and I'm still none the wiser.
Any help is greatly appreciated.
D.