private void btnStop_Click(object sender, EventArgs e) { // stop service try { this.Enabled = false; Cursor.Current = Cursors.WaitCursor; ServiceUtilities.StopService("EDScreenshotService"); } finally { updateServiceStatus(); Cursor.Current = Cursors.Default; this.Enabled = true; } }