Beispiel #1
0
        private void DeleteButton_Click(object sender, RoutedEventArgs e)
        {
            foreach (var item in SearchList)
            {
                MoviesList.Remove(item);
            }

            SearchList.Clear();
        }
 private void RemoveMovie(Movie movie)
 {
     MoviesList.Remove(movie);
 }