public Tab(Document document, DocumentTabStrip outer) { this.document = document; this.outer = outer; document.DirtyChanged += OnDocumentChanged; document.FilenameChanged += OnDocumentChanged; }
public TabIterator(DocumentTabStrip outer) { this.outer = outer; outer.Changed += delegate { Update(); }; }