"bbdobuddy" <bb*******@discussions.microsoft.com> schrieb:
I am creating a project calls a function that has to run for a while. I
would like to display a progress bar on the bottom of that form while that
function is running but everything I've tried doesn't work. It seems like
it
just wants to wait for that function to finish before it does anything
else.
Any help that I can get would be appreciated.
Run the function in a separate thread to prevent blocking the UI thread.
Some information on this topic (there's a link to a C# sample for writing a
multithreaded progress form on the bottom of the page):
Multithreading in Windows Forms applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=multithreading&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>