Click here to Skip to main content
15,886,724 members
Articles / Desktop Programming / Windows Forms

Countdown Reminders

Rate me:
Please Sign up or sign in to vote.
4.92/5 (33 votes)
24 Apr 2010CPOL5 min read 66.6K   2.9K   69  
Create countdown timers to remind you of upcoming events.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CountDownReminder
{
	public class DisplayStruct
	{
		public int days;
		public int hours;
		public int minutes;
		public int seconds;
		public string hourFormat;
		public string minuteFormat;
		public string secondFormat;

		public DisplayStruct()
		{
			days = 0;
			hours = 0;
			minutes = 0;
			seconds = 0;
			hourFormat = "D2";
			minuteFormat = "D2";
			secondFormat = "D2";
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Interacx
United States United States
Blog: https://marcclifton.wordpress.com/
Home Page: http://www.marcclifton.com
Research: http://www.higherorderprogramming.com/
GitHub: https://github.com/cliftonm

All my life I have been passionate about architecture / software design, as this is the cornerstone to a maintainable and extensible application. As such, I have enjoyed exploring some crazy ideas and discovering that they are not so crazy after all. I also love writing about my ideas and seeing the community response. As a consultant, I've enjoyed working in a wide range of industries such as aerospace, boatyard management, remote sensing, emergency services / data management, and casino operations. I've done a variety of pro-bono work non-profit organizations related to nature conservancy, drug recovery and women's health.

Comments and Discussions