Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > .NET WinForms
  New Posts New Posts RSS Feed - Assigning a control to a thread
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedAssigning a control to a thread

 Post Reply Post Reply
Author
Message
erics44 View Drop Down
Newbie
Newbie
Avatar

Joined: 04 December 2009
Location: United Kingdom
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote erics44 Quote  Post ReplyReply Direct Link To This Post Topic: Assigning a control to a thread
    Posted: 04 December 2009 at 6:34am
Hi
I am struggling to understand the need and the methods of assigning a control to a thread.

How do i do that?

if i already have a control on a page and i want to call it in a thread do i need to use the invoke method?

Thanks in advance
Back to Top
VladimirKh View Drop Down
Moderator Group
Moderator Group


Joined: 20 July 2009
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote VladimirKh Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2010 at 9:59am
< ="Content-" content="text/; charset=utf-8">< name="ProgId" content="Word.">< name="Generator" content="Microsoft Word 12">< name="Originator" content="Microsoft Word 12"><>
Hi,
Thread is a separate dependent process containing any code we want to run in the background.
If we want to call any method of the control asynchronously, then we have to use BeginInvoke and EndInvoke.
Here is a subject from MSDN that explains details:

ms-help://MS.MSDNQTR.v90.en/dv_fxadvance/html/38a345ca-6963-4436-9608-5c9defef9c64.htm

Regards

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.