ComponentOne GanttView for WinForms
Adding a Vacation Day for a Resource
GanttView for WinForms Task-Based Help > Adding a Vacation Day for a Resource

This topic illustrates how to add a calendar exception in Design view.

  1. Click C1GanttView's smart tag to open the C1GanttView Tasks menu and click Edit Calendars. The C1GanttView.CustomCalendars Collection Editor appears.
  2. Click Add to add a new calendar member to the editor.
  3. Click on the ellipsis button next to the CalendarExceptions to open the CustomCalendar.CalendarExceptions Collection Editor.
  4. Click Add to add a new calendar exception to the collection editor.
  5. In the properties pane, enter, My Holidays, next to the Name property.
  6. Expand the RecurrencePattern node and click on the dropdown arrow next to WeekDays.
  7. Select the Monday checkbox.
  8. Set the WeekOfMonth to Fourth.
  9. Set the StartDate to 6/4/2012. OK to save and close the CustomCalendar.CalendarExceptions Collection Editor.
  10. Click OK to save and close the C1GanttView.CustomCalendars Collection Editor.
See Also