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