/// <summary> /// Switches the state and updates some of the internal times variables. /// </summary> /// <param name="state"></param> internal void SwitchState(LcdState state) { m_state = state; m_paintTime = DateTime.Now; m_holdTime = DateTime.Now; }
/// <summary> /// Switches the state and updates some of the internal times variables. /// </summary> /// <param name="state"></param> public void SwitchState(LcdState newState) { m_state = newState; m_paintTime = DateTime.Now; m_holdTime = DateTime.Now; }