ComponentOne GanttView for WinForms
Step 1: Setting up the Application
Data Binding: GanttView for WinForms > Step 1: Setting up the Application

In this step, you begin by creating a WinForms application in Visual Studio and then adding a GanttView control to your application.

  1. Create a new WinForms project in Visual Studio.
  2. Navigate to the Toolbox and double-click the C1GanttView icon to add the control onto the form. Note that the following references get added to the project.
    • C1.Win.C1GanttView.4
    • C1.Win.C1Schedule.4
    • C1.Win.FlexGrid.4
  3. Resize the form and the GanttView control. Click the GanttView control once in design view and set the Dock property to Fill in the Properties window.
  4. The design view would appear similar to the following image.

    Design time appearance of GanttView Control

With this, you have set up the basic application to implement data binding in GanttView for WinForms.

See Also