public void CloseWindow() { _popupLayout = Content as PopupLayout; if (_popupLayout.IsPopupActive) { _model.StopPlayer(); _model.IsPlaying = false; _popupLayout.DismissPopup(); } }
public void CloseWindow() { popupLayout = this.Content as PopupLayout; if (popupLayout.IsPopupActive) { _model.StopPlayer(); this._model.IsPlaying = false; popupLayout.DismissPopup(); } }