---
title: "IUserInputController..::.Connect Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_IUserInputController_Connect_1_08d95e47.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 [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Sub Connect ( _viewer As BaseViewer _
)
```
 
```csharp
void Connect(BaseViewer viewer
)
```
 
### Parameters
 
 - viewer
     - Type: [Aurigma.GraphicsMill.AjaxControls.BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
The [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) to connect to.
   
## See Also

### Reference

- [IUserInputController Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_IUserInputController.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
