public override void Initialize() { base.Initialize(); ToolRegistry.Add(this); this.Context.Viewer.EventBroker.DisplaySetChanged += OnDisplaySetChanged; }
public override void Initialize() { base.Initialize(); ToolRegistry.Add(this); if (Layout.Basic.ShowHideOverlaysTool.LegacyMode) { this.Context.Viewer.EventBroker.DisplaySetChanged += OnDisplaySetChanged; } }