c# - Save and recall multiple Properties.Settings.Default objects? -
to make things tad simpler in c# application, decided save user style changes using properties.settings properties, works expected.
but liked style change aspect of app much, , important usage, have decided have savable , loadable style files(mystyle.xxx) user save , reload. have never used these user settings before, unsure of how duplicate , save object. can done simply, or can maybe write these objects serialized xml? common approach?
p.s. tried researching topic because closely related saving user settings, find questions saving user settings.
this sort of sketchy has worked me in past , seems pretty decent solution..
firstly, create list of settings want , default values.
then create json-esque format data , save in setting string. there can jsut copy paste template , make 3 more string in settings file total of 4 strings same json stuff in it.
it's bit of fuss parsing info in , out if set in json format shouldn't hard.
Comments
Post a Comment