void connector_OnLogicConnect(object sender, EventArgs e) { this.Invoke((MethodInvoker)delegate { updateConnectionState(); }); }