示例#1
0
 public TomatoService(
     ConfigService config,
     BackgroundWorkerService backgroundWorker,
     TrayService tray,
     SoundService sound)
 {
     this.config           = config;
     this.backgroundWorker = backgroundWorker;
     this.tray             = tray;
     this.sound            = sound;
 }
示例#2
0
 public TomatoService(
     ConfigService config,
     BackgroundWorkerService backgroundWorker,
     TrayService tray,
     SoundService sound)
 {
     this.config           = config;
     this.backgroundWorker = backgroundWorker;
     this.tray             = tray;
     this.sound            = sound;
     timerWatcher          = new Stopwatch();
 }