private void closeServicesButton_Click(object sender, EventArgs e) { try { m_StaticObjects.DisableServices(); statusListBox.Items.Add("Internal and External Services Stopped"); } catch (System.Exception ex) { if (ex.Message != null) { statusListBox.Items.Add(ex.Message); } } }