Tray sensor display default color is black and color can be changed now. Fixed CPU load reading for AMD CPUs and added additional misc device for AMD core temperature reading.

This commit is contained in:
Michael Möller
2010-02-12 22:46:31 +00:00
parent 1b965a3ab3
commit ac6d7f818a
8 changed files with 110 additions and 61 deletions

View File

@@ -253,10 +253,9 @@ namespace OpenHardwareMonitor.GUI {
Config.Set("mainForm.Width", Width);
Config.Set("mainForm.Height", Height);
}
sensorSystemTray.Dispose();
notifyIcon.Dispose();
computer.Close();
}
@@ -315,7 +314,7 @@ namespace OpenHardwareMonitor.GUI {
} else {
ToolStripMenuItem item = new ToolStripMenuItem("Add To Tray");
item.Click += delegate(object obj, EventArgs args) {
sensorSystemTray.Add(node.Sensor);
sensorSystemTray.Add(node.Sensor, true);
};
sensorContextMenuStrip.Items.Add(item);
}