コード例 #1
0
ファイル: BumpTimer.cs プロジェクト: unstope/TradeHelper
 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
ファイル: MainForm.cs プロジェクト: unstope/TradeHelper
 private void OpClick(object sender, EventArgs e)
 {
     OutpostBumpService service = new OutpostBumpService();
     service.BumpAll();
 }