[RESOLVED] [2005] backgroundworker question
hi all,
just wanted to ask... when running a process in a backgroundworker, do i need to manually disable all the items in my form to stop the user from any transactions while the backgroundworker is doing something and then enable them after or is there a better way to do this?
thanks.
Re: [2005] backgroundworker question
You could disable controls individually or disable their parent containers.
Re: [2005] backgroundworker question
If you don't want the user to access the form while the background operation is running then I would suggest that you display a modal dialogue with a Marquee ProgressBar on it. Remove the Close button and don't provide any way for the user to dismiss it. You can then dismiss it when the task is complete. I'd suggest running the BackgroundWorker in that dialogue instead of in your current form.
Re: [2005] backgroundworker question