Re: Funny with BackGroundWorker
Adam Sills <[email protected]> Wed, 16 Apr 2008 10:37:26 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
That's what Ryan meant. More than once *EVER* not just more than once per button press. -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]] On Behalf Of Brady Kelly Sent: Wednesday, April 16, 2008 10:21 AM To: [email protected] Subject: Re: [DOTNET-WINFORMS] Funny with BackGroundWorker > Is there any chance you are calling SetupDatabase more than once? > If so, you are hooking up the DataToolBackgroundWorker.DoWork more than > once. > > // Ryan No, I checked that with a breakpoint in SetupDatabase, but [[[Eureka!!!]]] I'm adding another delegate to DoWork each time the button gets pressed. Thanks.