Sample Download : http://code.msdn.microsoft.com/CSTaskScheduler-2f70d723
This sample demonstrates a programmatic way to:
This application is just to showcase a way to achieve all the functionalities programmatically using C#.NET. I chose to allow the user to create only one Trigger, one Action that's too of a Particular type and a limited set of some settings.
But in your application, you can definitely allow specifying multiple triggers and actions. Be, it multiple or a single trigger (action), the procedure to create a new task will remain the same. The adapter is capable of handling multiple triggers and actions but not UI.
You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.