GUI/MainForm.cs
changeset 57 142907c75be4
parent 55 898935080fd6
child 63 1a7c13ac7348
     1.1 --- a/GUI/MainForm.cs	Sat Feb 20 19:51:10 2010 +0000
     1.2 +++ b/GUI/MainForm.cs	Sun Feb 21 18:10:30 2010 +0000
     1.3 @@ -143,6 +143,7 @@
     1.4        loadMenuItem.Checked = Config.Get(loadMenuItem.Name, true);
     1.5        tempMenuItem.Checked = Config.Get(tempMenuItem.Name, true);
     1.6        fansMenuItem.Checked = Config.Get(fansMenuItem.Name, true);
     1.7 +      flowsMenuItem.Checked = Config.Get(flowsMenuItem.Name, true);
     1.8       
     1.9        timer.Enabled = true;
    1.10  
    1.11 @@ -259,6 +260,7 @@
    1.12        Config.Set(loadMenuItem.Name, loadMenuItem.Checked);
    1.13        Config.Set(tempMenuItem.Name, tempMenuItem.Checked);
    1.14        Config.Set(fansMenuItem.Name, fansMenuItem.Checked);
    1.15 +      Config.Set(flowsMenuItem.Name, flowsMenuItem.Checked);
    1.16  
    1.17        if (WindowState != FormWindowState.Minimized) {
    1.18          Config.Set("mainForm.Location.X", Location.X);
    1.19 @@ -355,6 +357,7 @@
    1.20          node.SetVisible(SensorType.Load, loadMenuItem.Checked);
    1.21          node.SetVisible(SensorType.Temperature, tempMenuItem.Checked);
    1.22          node.SetVisible(SensorType.Fan, fansMenuItem.Checked);
    1.23 +        node.SetVisible(SensorType.Flow, flowsMenuItem.Checked);
    1.24        }
    1.25      }
    1.26