Exemplo n.º 1
0
 public MainCommands(HomeViewModel homeVM, AllNotesViewModel allNotesVM)
 {
     _homeVM     = homeVM;
     _allNotesVM = allNotesVM;
 }
Exemplo n.º 2
0
 public FormatCommands(HomeViewModel homeVM, TextEditor tbNote)
 {
     _homeVM = homeVM;
     _homeVM.AllNotes.TextEditor = tbNote;
 }
Exemplo n.º 3
0
 public MainWindowViewModel()
 {
     CurrentViewModel = new HomeViewModel();
     CurrentViewModel.ChangeScreen += CurrentViewModel_ChangeScreen;
     (CurrentViewModel as HomeViewModel).ShowDialog += CurrentViewModel_ShowDialog;
 }