Re: Modal dialogs

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Reg Rat" <reg@xxxxxxxxxxx> wrote in message
news:%23CblDLNAGHA.3048@xxxxxxxxxxxxxxxxxxxxxxx
> It looks like the only option I have is to kick off a new thread in the
> Load handler which will do the work, but this seems a bit over the top for
> my purposes, particularly as this thread would need to call into the UI
> thread to update the dialog.

Hi. Use the BackgroundWorker class. You can set this all up in your
FormLoad event. It's the cat's meow.

http://msdn2.microsoft.com/en-us/library/4852et58.aspx

-- Alan


.



Relevant Pages