private void CheckChangeIntervalCount(Interfaces.IPasswordInterface ui) { switch (SuccessfulCount) { case 0: // First time through to 30 minutes ui.TimerSetInterval(new TimeSpan(0, 5, 0)); ui.TimerStart(); break; case 6: // 30 minutes though to an hour ui.TimerSetInterval(new TimeSpan(0, 10, 0)); ui.TimerStart(); break; case 9: // hour through to 2 hours ui.TimerSetInterval(new TimeSpan(0, 30, 0)); ui.TimerStart(); break; case 11: // 2 hours onwards ui.TimerSetInterval(new TimeSpan(1, 0, 0)); ui.TimerStart(); break; } }