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.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Mar 1, 2010, 7:44 AM
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 ..
JasonPosted Mar 1, 2010, 7:37 AM
Kirtan PatelPosted Feb 25, 2010, 1:46 PM
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 .