private bool IsGluedToAnotherControl(int pos) { foreach (int gluePosition in _gluePositions) { if (gluePosition == pos) return true; } return false; }