public override void OnClick(object sender, EventArgs args) { ToolStripItem strip = sender as ToolStripItem; if (strip.Name == _basicName) { return; } //CmdSelectByMouse tag = strip.Tag as CmdSelectByMouse; SetSubType(RibbonHelper.CalculateSubTypeFromName(strip.Name)); _context.SetCurrentTool(this); }