# Step 1 of 4: Setting up the Project

## Content



In this step you will add a reference to the C1.WPF.Excel.dll to your form.

1.  Create a new WPF project.
2.  Select the **Add Reference** option from the **Project** menu of your project. The **Add Reference** dialog box appears.
3.  Browse to locate and select the **C1.WPF.Excel.dll** and click **OK**.
4.  Double-click the form to add the **Form1\_Load** event and switch to code view. Add the **Imports** (Visual Basic) or **using** (C#) statement to the code at the top of the form so you can use all names within the C1.WPF.Excel namespace.
    
    ```vbnet
    Imports C1.WPF.C1Excel
    ```
    
    ```csharp
    using C1.WPF.Excel;
    ```
    

Now you can create and begin adding content to a **C1XLBook**.