imBMW.Features.Menu.MenuBase.ShowPlayerStatusWithDelay C# (CSharp) Метод

ShowPlayerStatusWithDelay() защищенный Метод

protected ShowPlayerStatusWithDelay ( IAudioPlayer player ) : void
player IAudioPlayer
Результат void
        protected void ShowPlayerStatusWithDelay(IAudioPlayer player)
        {
            if (displayStatusDelayTimer != null)
            {
                displayStatusDelayTimer.Dispose();
                displayStatusDelayTimer = null;
            }

            displayStatusDelayTimer = new Timer(delegate
            {
                ShowPlayerStatus(player);
            }, null, displayStatusDelay, 0);
        }