private void PlayDrawing() { if (Drawing != null) { DrawingPlayer = new DrawingPlayer(Drawing, dzPlayer); DrawingPlayer.DrawingEnded += () => { IsPlaying = false; DrawingPlayer = null; }; DrawingPlayer.Play(); } else { IsPlaying = false; } }