private void CreateTool(MyTools.BaseTool tool) { if (Host.Global.SlectedTool == null) { Host.Global.SlectedTool = tool; } else { if (!Host.Global.SlectedTool.Compare(tool.ToString())) { Host.Global.SlectedTool = tool; } } }