コード例 #1
0
        public void RemoveCourses(Courses course)
        {
            var remove = CourseList.Remove(CourseList.Where(rmv => rmv.Name == course.Name).Single());

            if (remove)
            {
                CourseList.CollectionChanged += CourseList_CollectionChanged;
            }
        }