Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 833 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 833 Bytes

FormSerialisor

Saving the state (serializing) a Windows Form.  Original author : https://www.codeproject.com/Articles/86503/Saving-the-state-serializing-a-Windows-Form

 

How to use :

To use this code in your own project, all you need to do is drop the FormSerialisor.cs file into your project, and then add the following line at the top of any class where you wish to use the code:

using FormSerialisation;

To serialize :

FormSerialisor.Serialise(this, Application.StartupPath + @"\serialise.xml");

To deserialise :

FormSerialisor.Deserialise(this, Application.StartupPath + @"\serialise.xml");

More info on original page.

 

Adding :

DateTimePicker serialisor and deserialisor.