private void EnterTimer_Tick(object sender, EventArgs e) { SendKeys.Send("{ENTER}"); var userSetDelay3 = LogValue.Value; LogOffTimer.Interval = Convert.ToInt32(userSetDelay3) * 1000; LogOffTimer.Start(); EnterTimer.Stop(); }
public void StopAllTimer() { EnterDelayTimer.Stop(); EnterTimer.Stop(); BackEnterDelayTimer.Stop(); LeaveTimer.Stop(); LeaveDelayTimer.Stop(); OutTimer.Stop(); OutDelayTimer.Stop(); }
public virtual void StopDeal() { EnterTimer.Stop(); EnterDelayTimer.Stop(); BackEnterDelayTimer.Stop(); LeaveTimer.Stop(); LeaveDelayTimer.Stop(); OutTimer.Stop(); MotionStop(); Stop(); }