Bin ja nicht gerade der beste was .net angeht :D
Habt ihr eine alternative?
Google konnte da nix gutes ausspucken.
MfG
Habt ihr eine alternative?
Google konnte da nix gutes ausspucken.
MfG
void Bla()
{
if (InvokeRequired) { Invoke(new Action(bla)); return; }
//nix
}
if (this.InvokeRequired)
this.Invoke(new MethodInvoker(() => this.textBox1.Text = "Thread Safe"));
else
this.textBox1.Text = "Already on the UI thread";