public bool MouseUp(int x, int y) { if (Active && pressed) { if (_toolTip != null) { _toolTip.SetShowing(false); } pressed = false; if (x >= _xPos && x < _xPos + _width && y >= _yPos && y < _yPos + _height) { return true; } } return false; }