Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / August 2004

Tip: Looking for answers? Try searching our database.

Updating form from another thread

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
majid-eng - 02 Aug 2004 11:07 GMT
Hi
I have a thread that does many calculation and i'd like to view each calculation result in my form synchronously. how can i do?
Nick Malik - 03 Aug 2004 15:30 GMT
why not have your form subscribe to an event from your calculation class.
When your calculation class creates an answer, it fires an event with
information about the calculation.  The form picks up the event, places the
information into a visible field, and returns.

Caveat: I have not tried this.

--- Nick

> Hi
> I have a thread that does many calculation and i'd like to view each calculation result in my form synchronously. how can i do?
jwallison - 05 Aug 2004 01:23 GMT
> Hi
> I have a thread that does many calculation and i'd like to view each calculation result in my form synchronously. how can i do?

===========================
I'm not sure what you mean by "view...synchronously", but see the following
MSDN article:

"Walkthrough: Authoring a Simple Multithreaded Component with Visual C#"

Signature

Regards,

Jim Allison
jwallison.1@digitalcollimation.com
(de-mung by removing '.1')


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.