Пример #1
0
 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;
 }
Пример #2
0
        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 = "?";
            }
        }