コード例 #1
0
 public Student()
 {
     FirstName = " ";
     LastName  = " ";
     CourseNames.Add(" ");
     CourseGrades.Add(" ");
 }
コード例 #2
0
        private void getCoursesNames()
        {
            try
            {
                Courses = _directoryPath.GetDirectories().ToArray();

                CourseNames.Clear();
                DateNames.Clear();
                GraduateNames.Clear();

                foreach (var course in Courses)
                {
                    if (course != null)
                    {
                        CourseNames.Add(course.Name);
                    }
                }

                _selectedDateIndex = -1;
                getDateNames();
            }
            catch
            {
            }
        }