GanttView not only allows you to add resources for your tasks but also facilitates you to manage vacation days for your resources. Adding resource's vacation days to the project schedule is necessary as it helps in tracking the impact of vacation days on the productivity of the tasks.
To add a vacation day for your resource, follow the given steps:
C# |
コードのコピー
|
---|---|
CustomCalendar Calendar1 = new CustomCalendar();
|
C# |
コードのコピー
|
---|---|
CalendarException c1 = new CalendarException(); c1.Name = "My Holiday"; c1.RecurrencePattern.WeekOfMonth = WeekOfMonth.Fourth; c1.RecurrencePattern.WeekDays = WeekDays.Monday; Calendar1.CalendarExceptions.Add(c1); |
This adds a vacation day for you resource in GanttView.