private void Back(object sender, RoutedEventArgs e) { mainWindow.SizeChanged -= WindowSizeChanged; BookList bookList = new BookList() { mainCanvas = mainCanvas, mainWindow = mainWindow, BookNumber = book }; bookList.Build(); }
private void B3(object sender, MouseEventArgs e) { mainWindow.SizeChanged -= WindowSizeChanged; BookList bookList = new BookList() { mainCanvas = mainCanvas, mainWindow = mainWindow, BookNumber = 2 }; bookList.Build(); }