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