GUI/MainForm.cs
changeset 370 8e4dedc41924
parent 362 1dfe9dac1651
child 378 64d3ddf8d73b
     1.1 --- a/GUI/MainForm.cs	Sun Jul 22 18:07:11 2012 +0000
     1.2 +++ b/GUI/MainForm.cs	Mon Jul 23 21:54:35 2012 +0000
     1.3 @@ -54,6 +54,7 @@
     1.4  
     1.5      private UserOption readMainboardSensors;
     1.6      private UserOption readCpuSensors;
     1.7 +    private UserOption readRamSensors;
     1.8      private UserOption readGpuSensors;
     1.9      private UserOption readFanControllersSensors;
    1.10      private UserOption readHddSensors;
    1.11 @@ -226,6 +227,12 @@
    1.12          computer.CPUEnabled = readCpuSensors.Value;
    1.13        };
    1.14  
    1.15 +      readRamSensors = new UserOption("ramMenuItem", true,
    1.16 +        ramMenuItem, settings);
    1.17 +      readRamSensors.Changed += delegate(object sender, EventArgs e) {
    1.18 +        computer.RAMEnabled = readRamSensors.Value;
    1.19 +      };
    1.20 +
    1.21        readGpuSensors = new UserOption("gpuMenuItem", true,
    1.22          gpuMenuItem, settings);
    1.23        readGpuSensors.Changed += delegate(object sender, EventArgs e) {