I am doing something like this:
toothChart.SetToothNumberingNomenclature((ToothNumberingNomenclature)PrefC.GetInt(PrefName.UseInternationalToothNumbers));
which works.. until I go to a higher version of OD... (it returns 0 from another preference) the UseInternationalToothNumbers which is say preference number 650 in the database, changes later to another number, and in the source code since the enum list is being added, but alphabetized in the source code, causing the numbers to change.. and not link correctly if that sounds right. But.. alphabetized code looks better...

Anyways... not sure if I should just ignore the preference number and just hard code it based off of the OD version number.. or... query the database.. which is probably like.. a worse idea.

Just thought I would throw this out there.

Maybe in prefs.cs in OD business...
instead of:
UseInternationalToothNumbers,
adding integers to the strings so you can alphabetize the list AND not change the integers the enum is assigned to?
UseInternationalToothNumbers = 823,
This was going forward.. as you guys add more preferences.. the integers won't change... as UseInterNationalToothNumbers.. used to be some other number?