Re: VisualBasic.Compatabilty . Goto
Davy J <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
I've just found even worse, this *HAS* to be refactored now. Dave. On Mon, Jan 26, 2009 at 5:54 PM, Marc Brooks <[email protected]> wrote: > Who needs RefractorPro, I'm here ;) > > try > { > int iCnt2 = 1; > > Common cm = new Common(); > do { > try > { > oWait.WaitOne(); > if (FTPClients.AddFTPClient(ftp)) > break; > > ScheduleStatus.AddEditSchedule(new > ScheduleInfo(_schedule.scheduleID, "Downloding Waiting " , > DateTime.Now.ToString(), _schedule.providerName, _schedule.customerName, > _schedule.contractName, "")); > > oWait.ReleaseMutex(); > } > } while (cm.WatchAgain(ref iCnt2)); > > Of course, I have no idea what the try statements are doing, so I > can't update that... I'm guessing something to do with a finally to > call ReleaseMutex. > > -- > Marc C. Brooks > http://musingmarc.blogspot.com > > NOT sent from an iPhone > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives