private static void Sound_Ended(MediaPlayer sender, object args) { SoundEnded?.Invoke(null, null); }
/// <summary> /// Raises the <see cref="SoundEnded" /> event. /// </summary> /// <seealso cref="EventArgs" /> protected virtual void OnSoundEnded() { SoundEnded?.Invoke(this, EventArgs.Empty); }