protected void OnPlaybackEnded() { if (PlaybackEnded == null) return; PlaybackEnded(this, EventArgs.Empty); }