public FileSearchForm(MyNeighbors mn,MovingTCPScheduler scheduler) { InitializeComponent(); myNeighbors=mn; outbound = scheduler.outboundManager; scheduler.fileSearchForm = this; fullResults = new ArrayList(); fileTransferDB = scheduler.fileTransferDB; System.Threading.ThreadPool.SetMaxThreads(5, 5); }
public FileSaver(MyFilesDB myFiles, PendingFileTransferDB pendingFileTransferDB) { _myFiles = myFiles; _pendingFileTransferDB = pendingFileTransferDB; pendingFileQueue = new Hashtable(); }