Exemplo n.º 1
0
        private void SelectPreviousTest()
        {
            int index = selectedTask - 1;

            if (index < 0)
            {
                index = testsArr.Length - 1;
            }
            SelectTest(index);
            TestSelector.SetSelected(index, true);
            TestSelector.Refresh();
        }
Exemplo n.º 2
0
        private void SelectNextTest()
        {
            int index = selectedTask + 1;

            if (index >= testsArr.Length)
            {
                index = 0;
            }
            SelectTest(index);
            TestSelector.SetSelected(index, true);
            TestSelector.Refresh();
        }