protected virtual void ChangeState(State state) { _state = state; UpdateDisplay(); Application.DoEvents();// make the state change show up. }