示例#1
0
 public void CreateNewBook(int firstPage, int lastPage, int countListNotebook, string newPath)
 {
     CalculatePages calculatePages = new CalculatePages();
     List<Notebook> listNotebooks = calculatePages.Calculate(firstPage, lastPage, countListNotebook);
     calculatePages.UnionLastNotebooks(listNotebooks, 4);
     calculatePages.ReverseBackSide(listNotebooks);
     Book book = new Book(firstPage, lastPage, countListNotebook);
     book.Path = newPath;
     book.Notebooks = listNotebooks;
     ListBooks.Add(book);
 }
示例#2
0
 public void SetUp()
 {
     Calculate = new CalculatePages();
     Book = new Book();
 }