예제 #1
0
        private void GoForward()
        {
            FlipItem head = myList[0];
            FlipItem foot = myList[myList.Count - 1];

            myList.Insert(myList.Count - 1, head);
            myList.RemoveAt(0);
            ClearItems();
            AddItems();
            center.SelectedIndex = myList.Count - 2;
        }
예제 #2
0
        private void GoBackward()
        {
            FlipItem head = myList[0];
            FlipItem foot = myList[myList.Count - 1];

            myList.Insert(0, foot);
            myList.RemoveAt(myList.Count - 1);
            ClearItems();
            AddItems();
            center.SelectedIndex = 1;
        }