Esempio n. 1
0
 public UpdateWindow(Book book, BooksModelContainer booksModel, MainWindow window)
 {
     this.book       = book;
     this.booksModel = booksModel;
     this.window     = window;
     InitializeComponent();
     Load();
 }
Esempio n. 2
0
 public void Dispose()
 {
     if (booksModel != null)
     {
         booksModel.Dispose();
         booksModel = null;
     }
     window = null;
 }
Esempio n. 3
0
 public MainWindow()
 {
     InitializeComponent();
     booksModel = new BooksModelContainer();
     Loading();
 }
Esempio n. 4
0
 public AddBookWindow(MainWindow window)
 {
     this.window = window;
     booksModel  = new BooksModelContainer();
     InitializeComponent();
 }