Пример #1
0
    private void ChangeVolume(int value)
    {
        if (PlayerHost == null)
        {
            return;
        }

        PlayerHost.Volume += value;
        ChangeVolumeExecuted?.Invoke(this, new ValueEventArgs <int>(value));
    }
Пример #2
0
 private void ChangeVolume(int value)
 {
     PlayerHost.Volume = PlayerHost.Volume + value;
     ChangeVolumeExecuted?.Invoke(this, new ValueEventArgs <int>(value));
 }