public TimerWorkItem(object _sender, TIMERHandler _job, int _timeoutTicks) { this.Sender = _sender; this.Job = _job; this.TimeoutTicks = _timeoutTicks; }
public int SetTimeout(object sender, TIMERHandler th, int timesTick) { TimerWorkItem twi = new TimerWorkItem(sender, th, timesTick); return SetTimeout(twi); }