You can use either the TaskEditDialog or TaskSchedulerWizard and then just initialize them or construct them with just a TaskService instance. If you wish to register the task (make it effective on the system) you will need to set the RegisterTaskOnAccept property to true.
// Get the service on the local machineusing (TaskService ts = new TaskService()) {// Setup editor so that it will create a new task definition,// make it editable, and register it when user clicks Ok TaskEditDialog editorForm = new TaskEditDialog(ts);if (editorForm.ShowDialog() == DialogResult.OK) {// The editorForm.TaskDefinition now contains all the// information the user input into the form. } }