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(); Show();
} }
// Create a handle, otherwise calling Close() does not fire FormClosed // Create a handle, otherwise calling Close() does not fire FormClosed
CreateHandle(); IntPtr handle = Handle;
} }
private void SubHardwareAdded(IHardware hardware, Node node) { private void SubHardwareAdded(IHardware hardware, Node node) {