public UpdateWindow(Book book, BooksModelContainer booksModel, MainWindow window) { this.book = book; this.booksModel = booksModel; this.window = window; InitializeComponent(); Load(); }
public void Dispose() { if (booksModel != null) { booksModel.Dispose(); booksModel = null; } window = null; }
public MainWindow() { InitializeComponent(); booksModel = new BooksModelContainer(); Loading(); }
public AddBookWindow(MainWindow window) { this.window = window; booksModel = new BooksModelContainer(); InitializeComponent(); }