ComponentOne DateTimeEditors for WPF and Silverlight
Step 1 of 3: Creating an Application with a C1TimeEditor Control
C1TimeEditor Control Help > C1TimeEditor Quick Start > Step 1 of 3: Creating an Application with a C1TimeEditor Control

In this step, you'll begin in Visual Studio to create a WPF or Silverlight application using the C1TimeEditor control.

If creating a WPF project, complete the following steps:

  1. In Visual Studio, select File | New | Project.
  2. In the New Project dialog box, select WPF Application.
  3. Enter a Name and Location for your project and click OK to create the new application.
  4. In the Toolbox, double-click the C1TimeEditor icon to add the C1TimeEditor control to the WPF application.

If creating a Silverlight project, complete the following steps:

  1. In Expression Blend, select File | New Project.
  2. In the New Project dialog box, select the Silverlight project type in the left pane and, in the right-pane, select Silverlight Application + Website.
  3. Enter a Name and Location for your project and click OK. Blend creates a new application, which opens with the MainPage.xaml file displayed in Design view.
  4. Add the C1TimeEditor control to your project by completing the following steps:
    1. On the menu, select Window | Assets to open the Assets tab.
    2. Under the Assets tab, enter "C1TimeEditor" into the search bar.
    3. The C1TimeEditor control's icon appears.
    4. Double-click the C1TimeEditor icon to add the control to your project.

You have completed the first step of the C1TimeEditor quick start. In this step, you created a project and added a C1TimeEditor control to it. In the next step, you'll customize the control.