---
title: "IUserInputController..::.Connect Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IUserInputController_Connect_1_2c01f705.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/)

# IUserInputController.Connect Method 
 
Connects this user input controller (navigator or rubberband) to the viewer control.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Sub Connect ( _viewer As ViewerBase _
)
```
 
```csharp
void Connect(ViewerBase viewer
)
```
 
### Parameters
 
 - viewer
     - Type: [Aurigma.GraphicsMill.WinControls.ViewerBase](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
A viewer to connect to.
   
## See Also

### Reference

- [IUserInputController Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_IUserInputController.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
