private void RegisterEvents() { //加入案件节点; CommonEventHelper.GetEvent <CaseLoadingEvent>().Subscribe(OnCaseLoaded); //订阅案件关闭事件; CommonEventHelper.Subscribe <CaseUnloadedEvent, ICase>(OnCaseUnloaded); //当案件文件被加载时,向树形节点中加入案件文件; CommonEventHelper.GetEvent <CaseEvidenceLoadedEvent>().Subscribe(OnEvidenceLoaded); CommonEventHelper.GetEvent <CaseEvidenceRemovedEvent>().Subscribe(OnCaseEvidenceRemoved); }