/// <summary>
        /// Clean up all child objects here, unlink all events and dispose
        /// </summary>
        protected override void DisposeChildObjects()
        {
            base.DisposeChildObjects();

            if (_tool != null)
            {
                _tool.Dispose();
                _tool = null;
            }
            _button       = null;
            _parentButton = null;
            _toolBox      = null;
        }
 public PlugInTool(IPlugInTool tool, int id)
     : this(tool)
 {
     this.ID = id;
     tool.ID = id;
 }
 public PlugInTool(IPlugInTool tool)
     : this()
 {
     Tool    = tool;
     this.ID = tool.ID;
 }