GanttView for WinForms
タスクの開始日時と終了日時
GanttView の使用 > タスク要素 > タスクの開始日時と終了日時

GanttView facilitates you to schedule your project from finish date or start date as per your convenience. To do so, you can use the ScheduleFrom property of the Project class. After scheduling your project, you can specify the start date and finish date of your task by using the Start and Finish properties of the Task class.

To set the start/finish date at design time, follow the given steps:

  1. Open the C1GanttView.Tasks Collection Editor.
  2. Click the dropdown arrow next to the Start/Finish property. A dropdown calendar appears.
  3. Select the date from the dropdown calendar and set the time format in the increment button.

To set start and finish date programmatically, refer to the code given below:

C#
コードのコピー
//Task1の開始日を定義します。
Task1.Start = new DateTime(2015, 06, 5);