Home All Groups Group Topic Archive Search About

User Control in it's own thread?

Author
1 Mar 2006 8:23 PM
teillon
Is there not any way to create a user control that does it's thing in
it's own thread.  Say for example loop and print the time to a listbox?

I want to build one of these uc and put both on a form and have each
run in it's own thread...

Author
1 Mar 2006 9:16 PM
Chris
teillon wrote:
> Is there not any way to create a user control that does it's thing in
> it's own thread.  Say for example loop and print the time to a listbox?
>
> I want to build one of these uc and put both on a form and have each
> run in it's own thread...
>

The UC can create it's own thread and do the work inside it's own
thread.  Use callbacks to update the UI.

Chris