예제 #1
0
        virtual public void DoDocumentModify()
        {
            var args = new DocumentModifiedEventArgs
            {
                FileName   = documentFileName,
                IsModified = isDocumentModified,
                Title      = Title
            };

            OnDocumentModified?.Invoke(this, args);
        }
예제 #2
0
        virtual public void DoDocumentModify()
        {
            if (OnDocumentModified != null)
            {
                DocumentModifiedEventArgs args = new DocumentModifiedEventArgs();

                args.FileName   = documentFileName;
                args.IsModified = isDocumentModified;
                args.Title      = Title;

                OnDocumentModified(this, args);
            }
        }
예제 #3
0
 void DocumentTabService_FileModified(object sender, DocumentModifiedEventArgs e)
 {
     AnalyzerTreeNodeData.HandleModelUpdated(TreeView.Root, e.Documents);
     RefreshNodes();
 }