private void Init(HasDisplayNameIfc tag) { Tag = tag; UpdateName(); if (tag is SourceMap) { ((SourceMap)tag).readyToLockChangedEvent.Add(UpdateNameListener); } }
private void Init(HasDisplayNameIfc tag) { base.Tag = tag; this.UpdateName(); if (tag is SourceMap) { ((SourceMap)tag).readyToLockChangedEvent.Add(new DirtyListener(this.UpdateNameListener)); } }
public NameWatchingTreeNode(HasDisplayNameIfc tag) { Init(tag); }
public NameWatchingTreeNode(HasDisplayNameIfc tag, TreeNode[] children) : base(null, children) { Init(tag); }
public NameWatchingTreeNode(HasDisplayNameIfc tag) { this.Init(tag); }
public NameWatchingTreeNode(HasDisplayNameIfc tag, TreeNode[] children) : base(null, children) { this.Init(tag); }