Exemplo n.º 1
0
 public MainWindow()
 {
     libraryViewModel = new LibraryViewModel();
     libraryViewModel.CreateDummy(); // dummy viewmodel
     this.DataContext = libraryViewModel;
     InitializeComponent();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs the MainWindow.
 /// </summary>
 public MainWindow()
 {
     LibraryViewModel = new LibraryViewModel();
     LibraryViewModel.CreateDummy();
     this.DataContext = LibraryViewModel;
     InitializeComponent();
 }