try application.DoEvents
On 3/18/09, Abhi <[email protected]> wrote: > > > In an windows based application of C# .NET, > ThreadPool.QueueUserWorkItem is used to call a function. The function > take 2 minutes to complete processing and when it exits the function > the UI of the application is gone !!! What must be wrong? > > -Abhi >
