Catrobat.IDE.WindowsPhone.Controls.SoundControls.SoundPlayButtonGroup.UnRegister C# (CSharp) Method

UnRegister() public method

public UnRegister ( SoundPlayButton button ) : void
button SoundPlayButton
return void
        public void UnRegister(SoundPlayButton button)
        {
            if (button != null && !_buttons.Contains(button))
            {
                _buttons.Add(button);
                button.PlayStateChanged -= ButtonOnPlayStateChanged;
            }
        }