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

ChangeSoundStateChanged() private method

private ChangeSoundStateChanged ( SoundPlayState newState ) : void
newState SoundPlayState
return void
        private void ChangeSoundStateChanged(SoundPlayState newState)
        {
            var oldState = _activeButton.State;
            _activeButton.State = newState;

            var notification = new SoundPlayStateChangedNotification
            {
                OldSound = _sound,
                OldState = oldState,
                NewSound = _sound,
                NewState = newState
            };

            //if (Command != null)
            //    Command.Execute(notification);
        }