效果图
日期红色的可以设置假期 也可以设置星期六星期日是否为假期
例子
ProjectViewBox.ProjectNode _Node1 = new ProjectViewBox.ProjectNode(DateTime.Parse("2009-08-01"), 2, "新任务1");
ProjectViewBox.ProjectNode _Node2 = new ProjectViewBox.ProjectNode(DateTime.Parse("2009-08-02"), 3, "新任务2");
_Node1.Complete = 10;
_Node2.Complete = 80;
projectViewBox1.ProjectSelectData.HolidayList.Add(DateTime.Parse("2009-08-03"));
projectViewBox1.ProjectSelectData.HolidayList.Add(DateTime.Parse("2009-08-04"));
projectViewBox1.ProjectSelectData.HolidayList.Add(DateTime.Parse("2009-08-05"));
projectViewBox1.ProjectSelectData.HolidayList.Add(DateTime.Parse("2009-08-10"));
projectViewBox1.ProjectSelectData.Add(_Node1);
projectViewBox1.ProjectSelectData.Add(_Node2);
下面是全部代码..根据自己的需要去改把... 代码不说其实很简单的 不到730行...