private void StopMemoPlaying() { _memoPlayerViewModel.Stop(); StopPlayerStoryboard.Begin(); this.ApplicationBar.Buttons.Clear(); this.ApplicationBar.Buttons.Add(_memoAppbarIconButton); this.ApplicationBar.Buttons.Add(_alarmAppbarIconButton); this.ApplicationBar.Buttons.Add(_anniversaryAppbarIconButton); this.ApplicationBar.Buttons.Add(_aboutAppbarIconButton); DisableApplicationBar(); }
private void OnPlayCompleted() { _mode = MainPageMode.MainView; _memoPlayerViewModel.Stop(); StopPlayerStoryboard.Begin(); this.ApplicationBar.Buttons.Clear(); this.ApplicationBar.Buttons.Add(_memoAppbarIconButton); this.ApplicationBar.Buttons.Add(_alarmAppbarIconButton); this.ApplicationBar.Buttons.Add(_anniversaryAppbarIconButton); this.ApplicationBar.Buttons.Add(_aboutAppbarIconButton); }