Exemplo n.º 1
0
        private void CleanLibrary(object sender, RoutedEventArgs e)
        {
            List <Book> delete = new List <Book>();

            foreach (var book in booksForDeleting)
            {
                delete.Add(book);
                ResourcesProvider.Current.ListBooks.Remove(book);
            }
            ResourcesProvider.Current.deleteBook = delete;
            Serialization.SerializationInformationAboutBook(ResourcesProvider.Current.ListBooks, fullPath);
            Serialization.SerializationBookDelete(delete, fullPath);

            LibraryRefreshing.Refresh();
        }
Exemplo n.º 2
0
 private void RefreshPages() //динамическое отображение
 {
     LibraryRefreshing.Refresh();
 }