I made a little Windows Forms program to do some auto backup of some files on my disk. Right now I need to push a button before it is executed, but I want to make the progra
You can use: System.Forms.Timer
If you don't know the amount of time until you want to Execute do something like:
DateTime TimeToExecuteTask DateTime Now = DateTime.Now // assign values. int SecondsToExectution = (TimeSpan)(TimeToExecuteTask - Now).TotalSeconds;