Changed the project files to Visual Studio 2010. Fixed some Code Analysis warnings.

This commit is contained in:
Michael Möller
2010-08-12 20:53:27 +00:00
parent a2650ba983
commit 2ec18bf862
37 changed files with 401 additions and 179 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ namespace OpenHardwareMonitor.GUI {
this.settings = settings;
this.name = name;
if (name != null)
this.value = settings.Get(name, value);
this.value = settings.GetValue(name, value);
else
this.value = value;
this.menuItem = menuItem;
@@ -72,7 +72,7 @@ namespace OpenHardwareMonitor.GUI {
if (this.value != value) {
this.value = value;
if (this.name != null)
settings.Set(name, value);
settings.SetValue(name, value);
this.menuItem.Checked = value;
if (changed != null)
changed(this, null);