Small fix for the Form Handle creating patch.
authormoel.mich
Tue, 02 Mar 2010 23:17:32 +0000
changeset 719b08df4bf2f2
parent 70 dc69dc4d7512
child 72 c4dfd596a6c3
Small fix for the Form Handle creating patch.
GUI/MainForm.cs
     1.1 --- a/GUI/MainForm.cs	Tue Mar 02 22:52:37 2010 +0000
     1.2 +++ b/GUI/MainForm.cs	Tue Mar 02 23:17:32 2010 +0000
     1.3 @@ -158,8 +158,8 @@
     1.4          Show();
     1.5        }
     1.6  
     1.7 -      // Create a handle, otherwise calling Close() does not fire FormClosed
     1.8 -      CreateHandle();
     1.9 +      // Create a handle, otherwise calling Close() does not fire FormClosed     
    1.10 +      IntPtr handle = Handle;
    1.11      }
    1.12  
    1.13      private void SubHardwareAdded(IHardware hardware, Node node) {