# HG changeset patch # User moel.mich # Date 1267571852 0 # Node ID 9b08df4bf2f2b38864ef417a55fa860229ad945b # Parent dc69dc4d751297a123ae64eb9e93090c9f9ca157 Small fix for the Form Handle creating patch. diff -r dc69dc4d7512 -r 9b08df4bf2f2 GUI/MainForm.cs --- a/GUI/MainForm.cs Tue Mar 02 22:52:37 2010 +0000 +++ b/GUI/MainForm.cs Tue Mar 02 23:17:32 2010 +0000 @@ -158,8 +158,8 @@ 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) {