Esempio n. 1
0
 protected override void OnNavigatedFrom(NavigationEventArgs e)
 {
     base.OnNavigatedFrom(e);
     MajorScoreViewModel.Dispose();
     SecondMajorScoreViewModel.Dispose();
     StudentInfoViewModel.Dispose();
 }
Esempio n. 2
0
        private async void ScoreSectionsPivot_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!secondMajorFetched && e.AddedItems.Contains(secondMajorItem))
            {
                bool signedIn = Application.Current.GetService <ICredentialService>().IsSignedIn;
                await SecondMajorScoreViewModel.StartUpdateAsync(signedIn);

                secondMajorFetched = true;
            }
        }