Beispiel #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();
 }
Beispiel #2
0
 private void OpClick(object sender, EventArgs e)
 {
     OutpostBumpService service = new OutpostBumpService();
     service.BumpAll();
 }