Features > Task Management > Scheduling Mode |
GanttView supports two types of modes to schedule tasks in GanttView, namely Manual and Automatic.
Manual Mode
This is the default task mode for tasks in GanttView. The manual mode provides greater flexibility to users in planning and managing project schedules. Manual tasks do not change the scheduling for project resources, etc. This mode is most suited for users not having adequate information related to tasks in a project.
Automatic Mode
The automatic mode provides more structured way to manage project schedules. In automatic mode, the GanttView control calculates the best earliest and latest dates for a task once the user enters information such as task duration, number of resources, etc. In case of any change in the schedule, GanttView automatically adjusts the project schedule for optimum results.
Scheduling modes can be set at runtime through the Task information dialog, which can be accessed by clicking the Task Information button from the toolbar.
The following image shows how to set task mode at runtime.
To set the scheduling mode for a task in GanttView, the Task class provides the Mode property that accepts the following values from the TaskMode enumeration.
The following code illustrates how to set the Mode property for a task.
Dim t As New Task()
t.Mode = TaskMode.Manual
Task t = new Task();
t.Mode = TaskMode.Manual;