BrightIdeasSoftware.ObjectListView.RemoveOverlay C# (CSharp) Method

RemoveOverlay() public method

Remove the given overlay to those on this list
public RemoveOverlay ( IOverlay overlay ) : void
overlay IOverlay The overlay
return void
        public virtual void RemoveOverlay(IOverlay overlay)
        {
            if (overlay == null)
                return;
            this.Overlays.Remove(overlay);
            GlassPanelForm glassPanel = this.FindGlassPanelForOverlay(overlay);
            if (glassPanel != null) {
                this.glassPanels.Remove(glassPanel);
                glassPanel.Unbind();
                glassPanel.Dispose();
            }
        }
ObjectListView