Paint.ToolBox.AddTool C# (CSharp) Méthode

AddTool() protected méthode

Adds the tool to our toolbox
protected AddTool ( IToolBoxTool tool ) : void
tool IToolBoxTool /// The tool to add to the toolbox ///
Résultat void
        protected void AddTool(IToolBoxTool tool)
        {
            if (tool is IToolBoxToolTouch)
            {
                this.interactiveTools.Add(tool as IToolBoxToolTouch);
            }
            else
            {
                this.nonInteractiveTools.Add(tool);
            }
        }