Small fix for the Form Handle creating patch.

This commit is contained in:
Michael Möller
2010-03-02 23:17:32 +00:00
parent b4918b3cc3
commit 256570098e

View File

@@ -158,8 +158,8 @@ namespace OpenHardwareMonitor.GUI {
Show();
}
// Create a handle, otherwise calling Close() does not fire FormClosed
CreateHandle();
// Create a handle, otherwise calling Close() does not fire FormClosed
IntPtr handle = Handle;
}
private void SubHardwareAdded(IHardware hardware, Node node) {