void connector_RunningStateChanged(object sender, EventArgs e) { try { this.Invoke((MethodInvoker)delegate { updateRunningState(); }); } catch { } }