Added a RAM hardware and sensor, fixed Issue 115.

This commit is contained in:
Michael Möller
2012-07-23 21:54:35 +00:00
parent 5e87af437d
commit 4bebb21f12
14 changed files with 421 additions and 217 deletions

View File

@@ -54,6 +54,7 @@ namespace OpenHardwareMonitor.GUI {
private UserOption readMainboardSensors;
private UserOption readCpuSensors;
private UserOption readRamSensors;
private UserOption readGpuSensors;
private UserOption readFanControllersSensors;
private UserOption readHddSensors;
@@ -226,6 +227,12 @@ namespace OpenHardwareMonitor.GUI {
computer.CPUEnabled = readCpuSensors.Value;
};
readRamSensors = new UserOption("ramMenuItem", true,
ramMenuItem, settings);
readRamSensors.Changed += delegate(object sender, EventArgs e) {
computer.RAMEnabled = readRamSensors.Value;
};
readGpuSensors = new UserOption("gpuMenuItem", true,
gpuMenuItem, settings);
readGpuSensors.Changed += delegate(object sender, EventArgs e) {