Saving and loading in windows form
How can i save and load the setting of project in windows form? I want to save the locations of 5 picturboxes on a panel. Those picturebox has drag drop event.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Feb 25, 2010, 8:46 AM EST
You can Save your Control Locations in XML File .
and At Loading of Form you can read back Location of Controls back from XML file ..to position them where they were located at closing of Form..
or
You can Use ...Application Settings to Store Application Specific Data
Project Menu >> Application Properties >> Settings there you can store settings .
Jason24 reputationPosted Mar 1, 2010, 2:37 AM EST
Kirtan PatelRank #292 · 8.6K reputationPosted Mar 1, 2010, 2:44 AM EST
suppose you want to save history till 5 steps then Write Till you have 5 Nodes in XML ..
if it Exceed 5 Nodes then Over Write with 1-5 again ..