Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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);
        }