Click here to Skip to main content
15,867,330 members
Articles / Programming Languages / C#

How to Properly Handle Cross-thread Events and Update a Label with BeginInvoke and BackgroundWorker

Rate me:
Please Sign up or sign in to vote.
4.79/5 (19 votes)
8 Feb 2008LGPL33 min read 139.7K   2.6K   55  
This article explains how to update a Label using cross-thread event handling, delegates, BeginInvoke and BackgroundWorker.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Founder Dice Informatica
Brazil Brazil
Guilherme is bachelor in Computer Science, graduated on 2007 at PUC-RS/Brazil, and post-graduated (latu sensu) on IT Project Management at PUC-RS/Brazil on 2009.

Currently working on his own ISV company, he develops custom software solutions for other companies.

His carreer interests are:

- Software Engineering;
- Computer Graphics;
- Game Development;
- Multi-agent Systems;
- Multi-core programming;

He works with C# .net since version 1.1;

Comments and Discussions