Пример #1
0
 public BumpTimer(int IntervalMilliseconds = 1000*60*5)
 {
     timer = new Timer();
     timer.Interval = IntervalMilliseconds;
     outpost = new OutpostBumpService();
     bazaar = new BazaarBumpService();
     Register(outpost.BumpAll);
     Register(bazaar.BumpAll);
     Start();
 }
Пример #2
0
 private void OpClick(object sender, EventArgs e)
 {
     OutpostBumpService service = new OutpostBumpService();
     service.BumpAll();
 }