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
Post a Comment