Added an event handler to save the configuration when the user logs off without closing the application first (http://blogs.msdn.com/b/oldnewthing/archive/2008/04/21/8413175.aspx), because FormClosed is not called in that case.
2 using System.Collections.Generic;
5 namespace OpenHardwareMonitor.Hardware.Mainboard {