# Using Spread Designer in Runtime

Learn how to add the NuGet package to your .NET project and utilize the FpSpreadDesigner component for displaying Spread Designer dialogs in run-time.

## Content



Spread for Winforms supports using the Spread Designer with code by following the steps below.

1.  Drag and drop the FpSpreadDesigner component in the form in addition to the FpSpread component.
    
    ![](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/design-nuget-designtime.png)
    
    Observe that both the components are added as tray icons in the design-time form.
    
2.  Launch Spread Designer dialogs using the **ShowDialog** method provided in the **FpSpreadDesigner** Class.
    
    ```csharp
    private void Form1_Load(object sender, EventArgs e)
    {
        fpSpreadDesigner1.ShowDialog(fpSpread1);
    }
    ```
    
    ```vbnet
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        FpSpreadDesigner1.ShowDialog(FpSpread1)
    End Sub
    ```