Example #1
0
        private void LessonsBox_Loaded(object sender, RoutedEventArgs e)
        {
            List <string> progressSubjects = new List <string> {
                "Choose subject"
            };

            progressSubjects.AddRange(progressViewModel.GetSubjects());
            LessonsBox.ItemsSource   = progressSubjects;
            LessonsBox.SelectedIndex = 0;
            SetNoElementsNotification();
        }