Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can i get a tutorial in threading and how to do it?
Posted
Comments
Sandeep Mewara 23-May-11 13:28pm    
Google?

Well yes, you can start with using a BackgroundWorker, its easy and safe to implement. Other advantage is its support for displaying the progress.

Here is one simple tutorial : http://www.dreamincode.net/forums/topic/112547-using-the-backgroundworker-in-c%23/[^]

Also check out my blog post here : http://tarundotnet.wordpress.com/2011/03/14/using-backgroundworker-in-wpf-applications/[^]

Also check out this Threading Model[^]of WPF.

Good luck. :thumbsup:
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 23-May-11 3:59am    
Reasonable set of sources, my 5. Only I would not recommend to focus on BackgroundWorker -- it's more of the simplification. And displaying techniques is not specific for this class.
--SA
Tarun.K.S 23-May-11 13:07pm    
Thanks SA. It was easy to implement but yes its less flexible.
[no name] 23-May-11 5:36am    
it all looks so complicated
Tarun.K.S 23-May-11 13:08pm    
BackgroundWorker is easy to implement, if this is complicated for you then the other way of threading is even more complicated. Anyway good luck.
Sergey Alexandrovich Kryukov 23-May-11 19:33pm    
In our culture people say: "To be afraid of wolves means not going the the forest!".
Wining does not help. Don't even play with the idea of working without threads -- it will lead nowhere.
--SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900