On
meta.stackoverflow.com Joel
announced a need for countdown application for the coming DevDays, as I am planing to attend one, I have decided to make one. Maybe I will watch my counter at the conference. ;)
It looks like:

Source code:
PeterStegnarDevDaysCountdown.zip (198.51 KB)I have used WPF, .NET 3.5. The speciality of this solution is custom Stackoverflow digits. :)
Short manual:
-you can find exe in "PeterStegnarDevDaysCountdown\WPF_StackoverflowCountDown\bin\Debug"
-start the app with the following parameters, for example: 0900 "DevDays begins in %s"
-just hit an "Esc" key to exit
Core functionalitiy is, of course, countdown:
if (second != 0)
{
second--;
}
else
{
second = 59;
if (minute != 0)
{
minute--;
}
else
{
minute = 59;
if (hour != 0)
{
hour--;
}
else
{
throw new ArgumentNullException("No valid time entry!");
}
}
}What do you think?