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