public virtual bool PointInside(int x, int y) { if (x >= X1 && x < X1 + Width && y >= Y1 && y < Y1 + Height) return true; return false; }