internal void SetCurrentAndNextColors(int currentId, int nextId) { SingleItemBox p = _workaround[1]; bool continuing = p != null; int x = 1; while (_workaround.ContainsKey(x)) { p = _workaround[x]; p.SetSelected(0); x++; } p = _workaround[currentId]; p.SetSelected(1); p = _workaround[nextId]; p.SetSelected(2); }