public JournalModuleLoader() { ServiceFactory.Events.GetEvent<ShowJournalEvent>().Subscribe(OnShowJournal); ServiceFactory.Events.GetEvent<NewJournalRecordEvent>().Subscribe(OnNewJournalRecord); JournalsViewModel = new JournalsViewModel(); ArchiveViewModel = new ArchiveViewModel(); }
public override void CreateViewModels() { ServiceFactory.Events.GetEvent<ShowJournalEvent>().Subscribe(OnShowJournal); ServiceFactory.Events.GetEvent<NewJournalRecordsEvent>().Subscribe(OnNewJournalRecord); //ServiceFactory.Events.GetEvent<NewFS2JournalItemsEvent>().Subscribe(OnNewFS2JournalItems); JournalsViewModel = new JournalsViewModel(); ArchiveViewModel = new ArchiveViewModel(); }