示例#1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            PlBackground.Start();
            vm = DataContext as PlayerViewModel;
            vm.ShowLikeTrackInfoCommand = new DelegateCommand<AppNotification>(TryShowLikeInfo);
            TracksList.Loaded += TracksList_Loaded;

            base.OnNavigatedTo(e);
        }
示例#2
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     vm.Activate();
     PlBackground.Start();
 }