public int GetPadNumber(Point point) { for (int i = 0; i < this.pads.Count; ++i) if (this.pads[i].Y1 <= point.Y && point.Y <= this.pads[i].Y2) return i; return -1; }