0
Der Code funktionieren unter ganz gut, aber ich für eine Art und Weise bin auf der Suche all 3 in nur eine invoke-Anweisung zu kombinieren:Invoke MethodInvoker Delegierter für mehr als 1 Einzelteil zu einem Zeitpunkt
this.Invoke(new MethodInvoker(delegate() {
String.Format(
"------------------------------------------------------------")
);
}));
this.Invoke(new MethodInvoker(delegate() {
String.Format(
"- END " + archiveFullName + " -"
);
}));
this.Invoke(new MethodInvoker(delegate() {
String.Format(
"------------------------------------------------------------")
);
}));
ich schon versucht habe:
this.Invoke(new MethodInvoker(delegate() {
listBox1.Items.Add(
this.listBox1.Items.Add("--------------------------------------------------------")
this.listBox1.Items.Add("- END " + archiveFullName + " -")
this.listBox1.Items.Add("-------------------------------------------------------")
);
}));
Aber das scheint nicht zu funktionieren.
Jede Auflösung wäre großartig!
Super danke Kenny! – StealthRT