Changeset 9
- Timestamp:
- Sep 5, 2019, 3:23:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Registry.cs
r8 r9 37 37 public static float GetValueFloat(this RegistryKey regKey, string name, float defaultValue) 38 38 { 39 object value = regKey.GetValue(name, defaultValue );39 object value = regKey.GetValue(name, defaultValue.ToString()); 40 40 float num; 41 41 if (float.TryParse((string)value, out num))
Note:
See TracChangeset
for help on using the changeset viewer.