---
title: "Adding ThumbnailListView Control to Application"
canonical: https://www.graphicsmill.com/docs/gm5/AddingThumbnailListViewControlToApplication.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Adding ThumbnailListView Control to Application
 
This topic contains information on how to get started with the [ThumbnailListView](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ThumbnailListView.htm.md) control.
 
1. Create a new Windows Forms application in Visual Studio: on the File menu choose New and click Project.
2. Add the ThumbnailListView control to the toolbox:
    1. Right-click the component toolbox and click Choose Items. This will open the Choose Toolbox Items dialog.
    2. Find the ThumbnailListView component on the .NET Framework Components tab. If, for some reason, you cannot find this component, click the Browse button and select the Aurigma.GraphicsMill.WinControls.dll assembly. Then, choose the ThumbnailListView component as described above.
3. In the Toolbox, find the  ![ThubmnailListView icon](https://www.graphicsmill.com/docs/gm5/ThumbnailList.gif)ThubmnailListView item and drag it to the form.
4. Add the code which will fill the list with items. For example, the following code snippet will insert two items which for files file1.jpg and file2.jpg: 
 
```
    ThumbnailListView1.Items.Add( _
     New Aurigma.GraphicsMill.WinControls.ThumbnailListItem("C:\file1.jpg"))
    ThumbnailListView1.Items.Add( _
     New Aurigma.GraphicsMill.WinControls.ThumbnailListItem("C:\file2.jpg"))
    ```
 
```csharp
    thumbnailListView1.Items.Add(
        new Aurigma.GraphicsMill.WinControls.ThumbnailListItem(@"C:\file1.jpg"));
    thumbnailListView1.Items.Add(
        new Aurigma.GraphicsMill.WinControls.ThumbnailListItem(@"C:\file2.jpg"));
    ```
5. Run the application. You will see something like this: 
 ![Simple application that uses the ThumbnailListView control](https://www.graphicsmill.com/docs/gm5/ThumbnailListView_QuickStart_ResultApp.png) 
 **Fig. 1. Simple application that uses the ThumbnailListView control**

This is a very basic example which does not demonstrate all features of the ThumbnailListView control. More detailed code example is described in the [Using the ThumbnailListView Control as a File Browser](https://www.graphicsmill.com/docs/gm5/UsingThumbnailListViewAsAFileBrowser.htm.md) topic.
 
## See Also
  
### Reference
 
- [ThumbnailListView Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ThumbnailListView.htm.md)

### Manual
 
- [Using the ThumbnailListView Control as a File Browser](https://www.graphicsmill.com/docs/gm5/UsingThumbnailListViewAsAFileBrowser.htm.md)
