Getting Started with ComponentOne Studio WinForms Edition
In This Topic
    Adding NuGet Packages to your App
    In This Topic

    To add WinForms References to your App

    In order to use WinForms controls, WinForms references have to be added to the project. Complete the following steps to add WinForms reference to your project.

    1. Open a pre-existing Windows Forms App or create a new Windows Forms App.
    2. From the Project menu, select Manage NuGet Packages. The NuGet Package Manager appears.
    3. Select nuget.org from the Package source drop down.
    4. Click Browse tab and select C1.Win.ControlName (for example C1.Win.Ribbon) from the left pane.
    5. In the right pane, click Install. This adds the references for the WinForms control.
    6. In the Preview dialog, click OK to proceed with the changes.
    7. Click I Accept to accept the license terms. The license gets installed.
    1. Open a pre-existing Consol App or create a new Consol App.
    2. In the Solution Explorer, right click the project and select Add | Add Packages. The Add Packages dialog appears.
    3. From the drop down menu in the top left corner, select nuget.org. The available WinForms package are displayed.
    4. Select the package C1.Win.ControlName and click the Add Package button. This adds the references for the WinForms control.