Search
Get Started
C
C#
•
4y ago
nut
Settings.Default not saving
I have two integers
, primary and secondary
, that i want to persist
, but they refuse to
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
N
nut
OP
•
12/13/22, 2:00 AM
when i print settings
.default
.secondaryoutput on application exit
, it is right
N
nut
OP
•
12/13/22, 2:00 AM
but when i reopen the program its reverted back to 0
N
nut
OP
•
12/13/22, 2:02 AM
my string setting saves
, but the integers dont
N
nut
OP
•
12/13/22, 2:02 AM
but its set up the same way
N
nut
OP
•
12/13/22, 2:14 AM
apparently when you assign a datasource to a combobox
, it calls selectedindexchanged
N
nut
OP
•
12/13/22, 2:14 AM
which was messing with my code
N
nut
OP
•
12/13/22, 2:14 AM
solved