private static void ThreadSafeSetText(Control label, string value) { label.UIThread(() => label.Text = value); }