/** * * Called when the openButton's rollOut event is dispatched while waiting * for the rollOverOpenDelay. This will cancel the timer so we don't open * any more. */ private void OpenButtonRollOutHandler(Event e) { if (null != _rollOverOpenDelayTimer && _rollOverOpenDelayTimer.IsRunning) { _rollOverOpenDelayTimer.Stop(); _rollOverOpenDelayTimer = null; } OpenButton.RemoveEventListener(MouseEvent.ROLL_OUT, OpenButtonRollOutHandler); }