# Adding a Drop-Down Form

Learn how to add a drop-down form

## Content



To add a drop-down form to your project, complete the following steps:

1.  Right-click your project (located in the Solution Explorer) and select **Add New Item** from the **Add** sub-menu.
2.  In the **Add New Item** dialog box, select **Windows Form** from the list of **Templates** in the right pane. Then enter **DropDownForm1.cs** in the **Name** textbox.
3.  The next step is to replace the following class definition line(s) in the DropDownForm code:
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in Visual Basic
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```vbnet
    Public Class DropDownForm1
        Inherits System.Windows.Forms.Form
    ```
    
    DOC-DETAILS-TAG-CLOSE
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in C#
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```csharp
    Public Class DropDownForm1:System.Windows.Forms.Form
    ```
    
    DOC-DETAILS-TAG-CLOSE
    
    with:
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in Visual Basic
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```vbnet
    Public Class DropDownForm1
        Inherits C1.Win.C1Input.DropDownForm
    ```
    
    DOC-DETAILS-TAG-CLOSE
    
    DOC-DETAILS-TAG-OPEN
    
    DOC-SUMMARY-TAG-OPEN
    
    To write code in C#
    
    DOC-SUMMARY-TAG-CLOSE
    
    ```csharp
    Public Class DropDownForm1: C1.Win.C1Input.DropDownForm
    ```
    
    DOC-DETAILS-TAG-CLOSE
    
    The form should look like the image below before editing:![dropdowndesignform](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/dropdowndesignform.png)
    

## See Also

[Changing the Navigation in the Navigator](/componentone/docs/win/online-input/inputforwinformstask/addingadropdownform/changingthenavigation)

[Customizing the Drop-Down Editor](/componentone/docs/win/online-input/inputforwinformstask/addingadropdownform/customizingthedropdown)

[Customizing the C1DropDownControl](/componentone/docs/win/online-input/inputforwinformstask/addingadropdownform/customizingthec1drop)