[]
In this step you will add a reference to the C1.WPF.Excel.dll to your form.
Create a new WPF project.
Select the Add Reference option from the Project menu of your project. The Add Reference dialog box appears.
Browse to locate and select the C1.WPF.Excel.dll and click OK.
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.
Imports C1.WPF.C1Excel
using C1.WPF.Excel;
Now you can create and begin adding content to a C1XLBook.