Invoke into main GUI thread
if (this.label1.InvokeRequired) { this.Invoke(new MethodInvoker(() => this.Function(parameter1, parameter2))); } else { // do stuff }