1.1 --- a/GUI/MainForm.cs Tue Mar 02 22:26:07 2010 +0000
1.2 +++ b/GUI/MainForm.cs Tue Mar 02 22:52:37 2010 +0000
1.3 @@ -157,6 +157,9 @@
1.4 } else {
1.5 Show();
1.6 }
1.7 +
1.8 + // Create a handle, otherwise calling Close() does not fire FormClosed
1.9 + CreateHandle();
1.10 }
1.11
1.12 private void SubHardwareAdded(IHardware hardware, Node node) {
1.13 @@ -233,7 +236,7 @@
1.14 }
1.15
1.16 private void exitToolStripMenuItem_Click(object sender, EventArgs e) {
1.17 - Close();
1.18 + Close();
1.19 }
1.20
1.21 private void timer_Tick(object sender, EventArgs e) {