Exemplo n.º 1
0
 public void CloseWindow()
 {
     _popupLayout = Content as PopupLayout;
     if (_popupLayout.IsPopupActive)
     {
         _model.StopPlayer();
         _model.IsPlaying = false;
         _popupLayout.DismissPopup();
     }
 }
Exemplo n.º 2
0
 public void CloseWindow()
 {
     popupLayout = this.Content as PopupLayout;
     if (popupLayout.IsPopupActive)
     {
         _model.StopPlayer();
         this._model.IsPlaying = false;
         popupLayout.DismissPopup();
     }
 }