public CursorPanGroup GetNextPanning() { if (this.groupListCounter < this.groupList.Count) { return this.groupList[this.groupListCounter++]; } else { this.groupListCounter = 0; return this.groupList[this.groupListCounter]; } }