Fixed Issue 269.

This commit is contained in:
Michael Möller
2012-07-14 19:24:04 +00:00
parent fc026664d3
commit 0d43433aa4
4 changed files with 509 additions and 4 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ namespace OpenHardwareMonitor.GUI {
private UnitManager unitManager;
private List<SensorNotifyIcon> list = new List<SensorNotifyIcon>();
private bool mainIconEnabled = false;
private NotifyIcon mainIcon;
private NotifyIconAdv mainIcon;
public SystemTray(IComputer computer, PersistentSettings settings,
UnitManager unitManager)
@@ -34,7 +34,7 @@ namespace OpenHardwareMonitor.GUI {
computer.HardwareAdded += new HardwareEventHandler(HardwareAdded);
computer.HardwareRemoved += new HardwareEventHandler(HardwareRemoved);
this.mainIcon = new NotifyIcon();
this.mainIcon = new NotifyIconAdv();
ContextMenu contextMenu = new ContextMenu();
MenuItem hideShowItem = new MenuItem("Hide/Show");