I want to save settings between two sessions.
I change the value, save it, close the program and its still the old one... WHY?
int test = Properties.Settings.Default.mode;
System.Console.WriteLine(test);
Properties.Settings.Default.mode = 1;
Properties.Settings.Default.Save();
test = Properties.Settings.Default.mode;
System.Console.WriteLine(test);
XML:
<userSettings>
<PyControl.Properties.Settings>
<setting name="mode" serializeAs="String">
<value>0</value>
</setting>
</PyControl.Properties.Settings>
</userSettings>