Esempio 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();
        }
Esempio 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);
        }