void SQLFTestRunner_TestEvent(TestEventArgs e) { if (e.ToString() == "Done") { SQLFTestRunner.TestEvent -= new SQLFTestRunner.TestEventHandler(SQLFTestRunner_TestEvent); buttonStart.Enabled = true; buttonStop.Enabled = false; button1.Enabled = true; comboBox1.Enabled = true; runner = null; } listBoxMsg.Items.Add(e.ToString()); }