public UploadWorker(List<string> dirs, UILogger logger) { this.directories = dirs; this.logger = logger; timer = new System.Timers.Timer(waitInterval); timer.AutoReset = false; timer.Elapsed += new ElapsedEventHandler((source, e) => start()); }
private void InitializeLogger(TextBox output) { logger = new UILogger(output); }