This project has moved and is read-only. For the latest updates, please go here.

not correct when display relate task

May 3, 2013 at 10:10 AM
when it display ralate task, as your pic demo:
. The task: "Brush Teeth", "Shower" is relate task "Wake Up". it always display them : "Brush Teeth", "Shower" behind "Wake Up". ( I see it can't display task "Brush Teeth", "Shower" into duration of Wake up" task as chart

how to do it?
May 6, 2013 at 1:19 PM
Hi Sonit,

To make Wake Up a group task containing Brush Teeth and Shower, Wake Up must not already have dependant tasks.

Try unrelate Brush Teeth and Shower from Wake Up first, before grouping them again.
May 7, 2013 at 8:06 AM
thanks for your reply.
but as The "All Phases" have two child task: phase 1 and phase 2
So how to do for display it with your library ( could you give the same code here) ^^.
Nov 7, 2013 at 8:38 AM
Sorry for the late reply. You probably do not need an answer now, but for the sake of new visitors,

What you have in the image is a group task with 3 member tasks. However, unlike your image, the Winforms Gantt Chart will not draw the lines joining the group end to the member tasks start.
// Create the ProjectManager and the tasks
_mManager = new ProjectManager();
var all = new Task() { Name = "All Phases" };
var phase1 = new Task() { Name = "Phase 1" };
var phase2 = new Task() { Name = "Phase 2" };
var phase3 = new Task() { Name = "Phase 3" };

// All the tasks to the manager

// Group all the phases under the "all" task
_mManager.Group(all, phase1);
_mManager.Group(all, phase2);
_mManager.Group(all, phase3);,