I want to run the timer at 2:00 a.m. and shutdown the application
The whole switch can be replaced by

hoursUntilShutdown = (26 - currentTime.Hour) % 24


where % is the remainder of the division, as in C (I don't use C#, so I can only assume it's the same).