private static void connection_ConnectionStateChanged(object sender, EventArgs e) { InvokeHelper.Invoke(delegate() { OnOtherConfigChanged(); OnTagsChanged(); OnGuiConfigChanged(); FireOtherConfigEvent = false; FireTagsEvent = false; FireGuiConfigEvent = false; }); }