public AutoFolderMonitor(TVDoc Doc,UI ui) { mDoc = Doc; mUI = ui; mScanDelayTimer = new System.Timers.Timer(1000); mScanDelayTimer.Elapsed += new System.Timers.ElapsedEventHandler(mScanDelayTimer_Elapsed); mScanDelayTimer.Stop(); }
public static void Setup(UI ui, TVDoc doc) { TheDoc = doc; TheUI = ui; }