Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a Form on a Seperate Thread...?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01149321
Message ID:
01150113
Vues:
31
Ben,

You can only update the UI from the thread the UI was created on. To update the UI in a thread safe manner you can use the form's Invoke method.

This should help you out.

http://msdn.microsoft.com/msdnmag/issues/05/03/AdvancedBasics

In DotNet 2.0 you can use the BackgroundWorker component and subscribe to a few events which makes the process a whole lot easier.

Regards
Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform