My console app uses a bunch of string variables entered by the user. Currently the user can type these as parameters to the console app which then persists them using Properties.Settings.
Instead I’d like a GUI app which has a bunch of text boxes and a ‘Save’ button.
How can I make this work? I presume there needs to be a way for each app to read/save the common variables. It should work without needing admin privileges when installed on customer’s machines.
.NET supports XML (De)Serialization.
Define a class with your setting parameters as fields, connect those fields to your
GUIelements, the way you want. Write that class to the XML file and restore the values on application launch.