示例#1
0
 public JournalModuleLoader()
 {
     ServiceFactory.Events.GetEvent<ShowJournalEvent>().Subscribe(OnShowJournal);
     ServiceFactory.Events.GetEvent<NewJournalRecordEvent>().Subscribe(OnNewJournalRecord);
     JournalsViewModel = new JournalsViewModel();
     ArchiveViewModel = new ArchiveViewModel();
 }
示例#2
0
		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();
		}