Exemple #1
0
        public override void Initialize()
        {
            base.Initialize();

            ToolRegistry.Add(this);

            this.Context.Viewer.EventBroker.DisplaySetChanged += OnDisplaySetChanged;
        }
Exemple #2
0
        public override void Initialize()
        {
            base.Initialize();

            ToolRegistry.Add(this);

            if (Layout.Basic.ShowHideOverlaysTool.LegacyMode)
            {
                this.Context.Viewer.EventBroker.DisplaySetChanged += OnDisplaySetChanged;
            }
        }