Exemple #1
0
 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());
 }
Exemple #2
0
 private void InitializeLogger(TextBox output)
 {
     logger = new UILogger(output);
 }