GUI/MainForm.cs
changeset 42 47385d4fc990
parent 40 2392f7402fb6
child 55 898935080fd6
     1.1 --- a/GUI/MainForm.cs	Fri Feb 12 08:17:51 2010 +0000
     1.2 +++ b/GUI/MainForm.cs	Fri Feb 12 22:46:31 2010 +0000
     1.3 @@ -253,10 +253,9 @@
     1.4          Config.Set("mainForm.Width", Width);
     1.5          Config.Set("mainForm.Height", Height);
     1.6        }
     1.7 -      
     1.8 +           
     1.9        sensorSystemTray.Dispose();
    1.10        notifyIcon.Dispose();
    1.11 -
    1.12        computer.Close();
    1.13      }
    1.14  
    1.15 @@ -315,7 +314,7 @@
    1.16            } else {
    1.17              ToolStripMenuItem item = new ToolStripMenuItem("Add To Tray");
    1.18              item.Click += delegate(object obj, EventArgs args) {
    1.19 -              sensorSystemTray.Add(node.Sensor);
    1.20 +              sensorSystemTray.Add(node.Sensor, true);
    1.21              };
    1.22              sensorContextMenuStrip.Items.Add(item);
    1.23            }