public ToolMenuItemExt(string text, IToolPlugin tool, ExternalToolNotify chghnd) { this.tool = tool; this.Text = text; this.ToolTipText = text; Checked = false; Click += new EventHandler(LinkClicked); Click += new EventHandler(ClickItem); chghandler = chghnd; name = tool.GetType().Namespace + "." + tool.GetType().Name; }
public ToolMenuItemExt(IToolPlus tool, ExternalToolNotify chghnd) : this(tool.ToString(), tool, chghnd) { }