void resetCompleteQuizzes() { CompleteGrid.Children.Clear(); HomeWorkList hlist = new HomeWorkList(316, 358, "ms-appx:///Resources/muro/tareas/complete_icon.png"); hlist.QuizzesList = (ViewModel as MainViewModel).CompletedQuizzesList; CompleteGrid.Children.Add(hlist); CompleteRing.Visibility = Visibility.Collapsed; }
void resetPendingQuizzes() { PendingGrid.Children.Clear(); HomeWorkList hlist = new HomeWorkList(316, 358, "ms-appx:///Resources/muro/tareas/incomplete_icon.png"); hlist.QuizzesList = (ViewModel as MainViewModel).PendingQuizzesList; PendingGrid.Children.Add(hlist); PendingRing.Visibility = Visibility.Collapsed; if (_isCircleSelected) { UnidadNumber.Text = "?"; CursoNumber.Text = "" + (ViewModel as MainViewModel).PendingQuizzesList.Count; } else { UnidadNumber.Text = "" + (ViewModel as MainViewModel).PendingQuizzesList.Count; CursoNumber.Text = "?"; } }