G
Guest
Hi,
I'm writing a multithreaded application that uses 2 threads: 1 for the form
and another to process some data. Before the processing thread starts, I
modify the interface to reflect its busy state. However, when I finish the
processing I can't undo the changes because 'Controls created on one thread
can't be parented on a different thread.' Does anyone know how I'd call my
finishing method on the UI thread, or get around this problem. Help would be
apreciated.
Reuben.
P.S. I use .NET Framework version 1.1
I'm writing a multithreaded application that uses 2 threads: 1 for the form
and another to process some data. Before the processing thread starts, I
modify the interface to reflect its busy state. However, when I finish the
processing I can't undo the changes because 'Controls created on one thread
can't be parented on a different thread.' Does anyone know how I'd call my
finishing method on the UI thread, or get around this problem. Help would be
apreciated.
Reuben.
P.S. I use .NET Framework version 1.1