GUI/SystemTray.cs
changeset 363 daa9590e1bee
parent 362 1dfe9dac1651
     1.1 --- a/GUI/SystemTray.cs	Thu Jul 12 10:17:18 2012 +0000
     1.2 +++ b/GUI/SystemTray.cs	Sat Jul 14 19:24:04 2012 +0000
     1.3 @@ -23,7 +23,7 @@
     1.4      private UnitManager unitManager;
     1.5      private List<SensorNotifyIcon> list = new List<SensorNotifyIcon>();
     1.6      private bool mainIconEnabled = false;
     1.7 -    private NotifyIcon mainIcon;
     1.8 +    private NotifyIconAdv mainIcon;
     1.9  
    1.10      public SystemTray(IComputer computer, PersistentSettings settings,
    1.11        UnitManager unitManager) 
    1.12 @@ -34,7 +34,7 @@
    1.13        computer.HardwareAdded += new HardwareEventHandler(HardwareAdded);
    1.14        computer.HardwareRemoved += new HardwareEventHandler(HardwareRemoved);
    1.15  
    1.16 -      this.mainIcon = new NotifyIcon();
    1.17 +      this.mainIcon = new NotifyIconAdv();
    1.18  
    1.19        ContextMenu contextMenu = new ContextMenu();
    1.20        MenuItem hideShowItem = new MenuItem("Hide/Show");