virtual public void DoDocumentModify() { var args = new DocumentModifiedEventArgs { FileName = documentFileName, IsModified = isDocumentModified, Title = Title }; OnDocumentModified?.Invoke(this, args); }
virtual public void DoDocumentModify() { if (OnDocumentModified != null) { DocumentModifiedEventArgs args = new DocumentModifiedEventArgs(); args.FileName = documentFileName; args.IsModified = isDocumentModified; args.Title = Title; OnDocumentModified(this, args); } }
void DocumentTabService_FileModified(object sender, DocumentModifiedEventArgs e) { AnalyzerTreeNodeData.HandleModelUpdated(TreeView.Root, e.Documents); RefreshNodes(); }