GUI/MainForm.cs
branchMiniDisplay
changeset 440 f43bab5fc81e
parent 438 f590956d3234
child 441 2a02ad86a776
     1.1 --- a/GUI/MainForm.cs	Sun Apr 14 22:38:41 2013 +0200
     1.2 +++ b/GUI/MainForm.cs	Wed Apr 17 15:57:32 2013 +0200
     1.3 @@ -492,7 +492,15 @@
     1.4            if (plotMenuItem.Checked && sensorNode != null &&
     1.5              sensorPlotColors.TryGetValue(sensorNode.Sensor, out color))
     1.6              e.TextColor = color;
     1.7 +
     1.8 +          //If displayed in FrontView draw background in green
     1.9 +          if (sensorNode != null && settings.GetValue(new Identifier(sensorNode.Sensor.Identifier, "FrontView").ToString(), false))
    1.10 +          {
    1.11 +              SolidBrush greenBrush = new SolidBrush(Color.FromName("mediumspringgreen"));
    1.12 +              e.BackgroundBrush = greenBrush;
    1.13 +          }
    1.14          } else {
    1.15 +
    1.16            e.TextColor = Color.DarkGray;
    1.17          }
    1.18        }