Beyond_Beyaan.BBButton.MouseUp C# (CSharp) Метод

MouseUp() публичный Метод

public MouseUp ( int x, int y ) : bool
x int
y int
Результат bool
        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;
        }