C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




updating the UI by two threads simultaneously


Posted Date: 04 Sep 2008      Total Responses: 4

Posted By: awais hamid       Member Level: Bronze     Points: 1


Hi All
I am making a WPF Application in which two threads run simultaneously and update the user interface....

These two threads read data from a very large file and update the user interface (Draw a graph) . But the problem is that at one time only one thread updates the user interface and the other thread waits....I want that the two threads update the UI together....how to achieve this???




Responses

Author: avtar    04 Sep 2008Member Level: GoldRating:     Points: 2
Thread dont run simultanesouly , i mean whn u say its multi threading appln but at the end only one thread is running and threads dont process ur appnl's faster but it just improves teh resposne time ( means dont lock the user/ user dont have to wait).


Author: vipul    04 Sep 2008Member Level: DiamondRating:     Points: 2
hi,
avtar say is write for more informatiom about multi threading in .net you refer this link
http://www.csharpcourses.com/2008/07/multi-thread-programming-in-net.html

vipul,
http://dongavipul.blogpsot.com


Author: avtar    04 Sep 2008Member Level: GoldRating:     Points: 1
What he is looking for optimization and tht's very specific logic how he is reading and how updating ....using method invoker's and all ?


Author: awais hamid    04 Sep 2008Member Level: BronzeRating:     Points: 2
I am attaching my project here so that you people can see how it behaves....
You need to have visual studio 2008....


onePageVer2.rar
Post Reply
You must Sign In to post a response.
Next : Stackpanel visibility problem??
Previous : sync between two forms
Return to Discussion Forum
Post New Message
Category: WPF

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

UK Conference calling Company

Contact Us    Privacy Policy    Terms Of Use