c# - Best practices with saving settings data -


i've got main class on user event shows settings window. there textboxes, radiobuttons etc. after pressing save button, want store data file.

i think saving process should inside main class , settings window takes care of displaying current config data, validate new data , send them main class. right?

how can "send" current config data main class (which knows config file etc.) window , "send" new data window main class stored?

thanks

in wpf can use properties.settings (best solution storing application settings). see this.

or can create own settings file, example, may create xml file, , store data it.

see:


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -