Esempio n. 1
0
 public AddNoteViewModel()
 {
     AddNoteCommand = new Command(arg=> CreateNoteMethod());
     BooksModel = ((App) (Application.Current)).BooksModel; // Модель данных
 }
Esempio n. 2
0
 public AddBookViewModel()
 {
     AddBookCommand = new Command(arg=> CreateBookMethod());
     ChoosePathCommand = new Command(arg => ChoosePathMethod());
     BooksModel = ((App) (Application.Current)).BooksModel; // Модель данных
 }