How do I get my program to remember the users settings?
+3
A:
You can either:
- write the settings to a file
Create setting in VS with Project->Properties->Settings... then by using
Properties.Settings.Default.SettingName = "something"; // Set setting
this.Text = Properties.Settings.Default.SettingName; // Use setting
JTA
2009-02-06 01:02:58
If you want the settings to persist between application sessions then you will also need to save them: Properties.Settings.Default.Save();
Kildareflare
2010-02-04 17:01:25