<t>Pour .NET 2.0, voici un bout de code que j'ai écrit qui fait exactement ce que vous voulez, et fonctionne pour n'importe quelle propriété d'un Control :<br/>
<br/>
private delegate void SetControlPropertyThreadSafeDelegate(<br/>
Control control, <br/>
string propertyName, <br/>
object propertyValue);<br/>
<br/>
public static void SetControlPropertyThreadSafe(<br/>
Control control, <br/>
string propertyName, <br/>
object propertyValue)<br/>
{<br/>
if (control.InvokeRequired)<br/>
{<br/>
control.Invoke(new SetControlPropertyThreadSafeDelegate <br/>
(SetControlPropertyThreadSafe), <br/>
new object[] { control, propertyName, propertyValue });<br/>
}<br/>
</t>